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:
parent
f642c48da4
commit
54699d46aa
1 changed files with 1 additions and 0 deletions
|
@ -112,6 +112,7 @@ IF(APPLE)
|
||||||
list(APPEND PLATFORM_LIBS ${COCOA_LIBRARY} ${CORESERVICES_LIBRARY})
|
list(APPEND PLATFORM_LIBS ${COCOA_LIBRARY} ${CORESERVICES_LIBRARY})
|
||||||
elseif(WIN32)
|
elseif(WIN32)
|
||||||
set(EVENT_INPUT_DEFAULT 1)
|
set(EVENT_INPUT_DEFAULT 1)
|
||||||
|
set(ENABLE_VR_DEFAULT 1)
|
||||||
list(APPEND PLATFORM_LIBS "Shlwapi.lib")
|
list(APPEND PLATFORM_LIBS "Shlwapi.lib")
|
||||||
|
|
||||||
set(CMAKE_INSTALL_SYSTEM_RUNTIME_DESTINATION "bin")
|
set(CMAKE_INSTALL_SYSTEM_RUNTIME_DESTINATION "bin")
|
||||||
|
|
Loading…
Reference in a new issue