From 8d7427d74a42aa71e1751c140da61abae145d66f Mon Sep 17 00:00:00 2001 From: mcc Date: Mon, 17 Feb 2020 14:45:03 -0500 Subject: [PATCH] The path to libOVR.lib has changed in more recent versions of the Oculus SDK. They no longer ship separate Debug and Release binaries. --- CMakeLists.txt | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 19fd0d58..20c0d6d0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -271,11 +271,7 @@ if(LOVR_ENABLE_HEADSET AND LOVR_USE_OCULUS) 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") endif() - if(CMAKE_BUILD_TYPE STREQUAL "Release") - set(OCULUS_BUILD_TYPE "Release") - else() - set(OCULUS_BUILD_TYPE "Debug") - endif() + set(OCULUS_BUILD_TYPE "Release") if(CMAKE_SIZEOF_VOID_P EQUAL 8) set(OCULUS_ARCH "x64") else()