0431e7cb3c
Import osgXR from https://github.com/amalon/osgXR master branch into 3rdparty, specifically commit b7e222775553b529018ac4b847353327c24ae5d4, which is 0.3.7 with tweaks for building as a subproject in a subdirectory. This will allow VR support to be more conveniently built if not already installed, without having to fetch yet another dependency.
14 lines
334 B
CMake
14 lines
334 B
CMake
include(CMakeFindDependencyMacro)
|
|
|
|
find_dependency(OpenGL)
|
|
find_dependency(OpenSceneGraph COMPONENTS osgViewer)
|
|
find_dependency(OpenXR)
|
|
|
|
@PACKAGE_INIT@
|
|
|
|
set_and_check(osgXR_INCLUDE_DIR @PACKAGE_INSTALL_INCDIR@)
|
|
set(osgXR_LIBRARY osgXR::osgXR)
|
|
|
|
include("${CMAKE_CURRENT_LIST_DIR}/osgXRTargets.cmake")
|
|
|
|
check_required_components(osgXR)
|