1
0
Fork 0
flightgear/3rdparty/osgXR/Config.cmake.in
James Hogan 0431e7cb3c
3rdparty: Import osgXR 0.3.7+
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.
2022-01-13 18:01:00 +00:00

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)