From 54699d46aaf59a8259ab35d235b5dba54325adb8 Mon Sep 17 00:00:00 2001 From: James Hogan Date: Tue, 4 Jan 2022 16:54:30 +0000 Subject: [PATCH] CMakeLists.txt: Enable VR by default on WIN32 Now that osgXR has some semblance of windows support, enable VR by default on Windows as well as Linux. If osgXR isn't found it will be disabled. --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 00128f8bd..cb1705088 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -112,6 +112,7 @@ IF(APPLE) list(APPEND PLATFORM_LIBS ${COCOA_LIBRARY} ${CORESERVICES_LIBRARY}) elseif(WIN32) set(EVENT_INPUT_DEFAULT 1) + set(ENABLE_VR_DEFAULT 1) list(APPEND PLATFORM_LIBS "Shlwapi.lib") set(CMAKE_INSTALL_SYSTEM_RUNTIME_DESTINATION "bin")