1
0
Fork 0

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.
This commit is contained in:
James Hogan 2022-01-04 16:54:30 +00:00
parent f642c48da4
commit 54699d46aa
No known key found for this signature in database
GPG key ID: 35CEE4862B1023F2

View file

@ -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")