mirror of https://github.com/bjornbytes/lovr.git
tup: fix OpenXR on Android;
This commit is contained in:
parent
bbd502153a
commit
aa3b04e514
|
@ -324,8 +324,9 @@ end
|
||||||
|
|
||||||
if config.headsets.openxr then
|
if config.headsets.openxr then
|
||||||
if target == 'android' then
|
if target == 'android' then
|
||||||
|
cflags_headset_openxr += '-Ideps/openxr/include'
|
||||||
cflags_headset_openxr += '-Ideps/OpenXR-Oculus/Include'
|
cflags_headset_openxr += '-Ideps/OpenXR-Oculus/Include'
|
||||||
lflags += 'lopenxr_loader'
|
lflags += '-lopenxr_loader'
|
||||||
copy('deps/OpenXR-Oculus/Libs/Android/arm64-v8a/Release/libopenxr_loader.so', '$(bin)/%b')
|
copy('deps/OpenXR-Oculus/Libs/Android/arm64-v8a/Release/libopenxr_loader.so', '$(bin)/%b')
|
||||||
else
|
else
|
||||||
if type(config.headsets.openxr) ~= 'string' then
|
if type(config.headsets.openxr) ~= 'string' then
|
||||||
|
|
Loading…
Reference in New Issue