From 4dcca11a783f6672ceff942d354ccfa0e013fa93 Mon Sep 17 00:00:00 2001 From: Nevyn Bengtsson Date: Tue, 4 Aug 2020 14:59:23 +0200 Subject: [PATCH] fix case problem in VrApi include path in the sdk, 'Include' folder is capital I. With lowercase in cmake, build fails on case sensitive file systems. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6b132f23..8b904aac 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -292,7 +292,7 @@ endif() if(LOVR_ENABLE_HEADSET AND LOVR_USE_VRAPI) set(LOVR_VRAPI_PATH "${CMAKE_CURRENT_SOURCE_DIR}/deps/VrApi" CACHE STRING "The path to the VrApi folder of the Oculus Mobile SDK") add_library(VrApi SHARED IMPORTED) - include_directories("${LOVR_VRAPI_PATH}/include") + include_directories("${LOVR_VRAPI_PATH}/Include") set_target_properties(VrApi PROPERTIES IMPORTED_LOCATION "${LOVR_VRAPI_PATH}/Libs/Android/${ANDROID_ABI}/Release/libvrapi.so") set(LOVR_VRAPI VrApi) endif()