tup: fix OpenXR on Android;

This commit is contained in:
bjorn 2022-03-16 15:43:07 -07:00
parent bbd502153a
commit aa3b04e514
1 changed files with 2 additions and 1 deletions

View File

@ -324,8 +324,9 @@ end
if config.headsets.openxr then
if target == 'android' then
cflags_headset_openxr += '-Ideps/openxr/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')
else
if type(config.headsets.openxr) ~= 'string' then