mirror of
https://github.com/JulianGro/overte.git
synced 2025-08-16 09:13:13 +02:00
Add OpenXrDisplayPlugin and OpenXrInputPlugin. Add controller bindings for the Valve Index controller.
23 lines
No EOL
764 B
CMake
23 lines
No EOL
764 B
CMake
#
|
|
# Copyright 2024 Lubosz Sarnecki
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
find_package(OpenXR REQUIRED)
|
|
if (NOT OpenXR_FOUND)
|
|
MESSAGE(FATAL_ERROR "OpenXR not found!")
|
|
endif()
|
|
|
|
set(TARGET_NAME openxr)
|
|
setup_hifi_plugin(Gui Qml Multimedia)
|
|
link_hifi_libraries(shared task gl qml networking controllers ui
|
|
plugins display-plugins ui-plugins input-plugins
|
|
audio-client render-utils graphics shaders gpu render
|
|
material-networking model-networking model-baker hfm
|
|
model-serializers ktx image procedural ${PLATFORM_GL_BACKEND} OpenXR::openxr_loader)
|
|
include_hifi_library_headers(octree)
|
|
include_hifi_library_headers(script-engine)
|
|
|
|
target_compile_options(openxr PRIVATE -Wno-missing-field-initializers -fdiagnostics-color=always)
|
|
#target_openxr() |