Remove CPM cmake

This commit is contained in:
Patrick Nicolas
2023-12-17 10:15:28 +01:00
parent 45cc2ea0c3
commit d6961d35dc
3 changed files with 14 additions and 49 deletions
+1 -9
View File
@@ -44,15 +44,7 @@ if(ANDROID)
PROPERTY IMPORTED_LOCATION ${PICO_SDK_PATH}/libs/android.${ANDROID_ABI}/libopenxr_loader.so)
target_link_libraries(wivrn OpenXR)
else()
CPMAddPackage( # We're scraping the comment after the NAME for some other scripts
NAME openxr_loader # 1.0.28
VERSION 1.0.27
GITHUB_REPOSITORY KhronosGroup/OpenXR-SDK
GIT_TAG "release-1.0.28"
OPTIONS
"BUILD_WITH_SYSTEM_JSONCPP OFF"
"DYNAMIC_LOADER ON"
)
FetchContent_MakeAvailable(openxr_loader)
target_link_libraries(wivrn openxr_loader)
endif()