15 lines
334 B
CMake
15 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)
|