mirror of
https://github.com/bjornbytes/lovr.git
synced 2024-07-04 21:43:34 +00:00
Merge pull request #224 from mcclure/oculus-sdk-path
Fix build with Oculus SDK 1.43.0
This commit is contained in:
commit
0a741bd110
|
@ -271,11 +271,7 @@ if(LOVR_ENABLE_HEADSET AND LOVR_USE_OCULUS)
|
||||||
if(NOT LOVR_OCULUS_PATH)
|
if(NOT LOVR_OCULUS_PATH)
|
||||||
message(FATAL_ERROR "LOVR_USE_OCULUS requires the LOVR_OCULUS_PATH to be set to the location of the Oculus Desktop SDK (LibOVR) folder")
|
message(FATAL_ERROR "LOVR_USE_OCULUS requires the LOVR_OCULUS_PATH to be set to the location of the Oculus Desktop SDK (LibOVR) folder")
|
||||||
endif()
|
endif()
|
||||||
if(CMAKE_BUILD_TYPE STREQUAL "Release")
|
|
||||||
set(OCULUS_BUILD_TYPE "Release")
|
set(OCULUS_BUILD_TYPE "Release")
|
||||||
else()
|
|
||||||
set(OCULUS_BUILD_TYPE "Debug")
|
|
||||||
endif()
|
|
||||||
if(CMAKE_SIZEOF_VOID_P EQUAL 8)
|
if(CMAKE_SIZEOF_VOID_P EQUAL 8)
|
||||||
set(OCULUS_ARCH "x64")
|
set(OCULUS_ARCH "x64")
|
||||||
else()
|
else()
|
||||||
|
|
Loading…
Reference in a new issue