Statically link OpenXR loader on Android
This commit is contained in:
@@ -46,6 +46,7 @@ if(ANDROID)
|
||||
PROPERTY IMPORTED_LOCATION ${PICO_SDK_PATH}/libs/android.${ANDROID_ABI}/libopenxr_loader.so)
|
||||
target_link_libraries(wivrn OpenXR)
|
||||
else()
|
||||
set(DYNAMIC_LOADER OFF)
|
||||
FetchContent_MakeAvailable(openxr_loader)
|
||||
target_link_libraries(wivrn openxr_loader)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user