Install in lib/wivrn

This commit is contained in:
Patrick Nicolas
2024-08-02 17:48:22 +02:00
parent 9ec9c60315
commit fc6cb1d442
+6 -3
View File
@@ -181,14 +181,17 @@ set(_extra_args)
if(WIVRN_OPENXR_INSTALL_ABSOLUTE_RUNTIME_PATH)
set(_extra_args ABSOLUTE_RUNTIME_PATH)
else()
set(_extra_args RUNTIME_DIR_RELATIVE_TO_MANIFEST ../../../${CMAKE_INSTALL_LIBDIR})
set(_extra_args RUNTIME_DIR_RELATIVE_TO_MANIFEST ../../../${CMAKE_INSTALL_LIBDIR}/wivrn)
endif()
generate_openxr_runtime_manifest_at_install(
${_extra_args}
RUNTIME_TARGET ${RUNTIME_TARGET}
DESTINATION share/openxr/1
RELATIVE_RUNTIME_DIR ${CMAKE_INSTALL_LIBDIR}
RELATIVE_RUNTIME_DIR ${CMAKE_INSTALL_LIBDIR}/wivrn
)
install(TARGETS ${RUNTIME_TARGET}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT Runtime)
LIBRARY
DESTINATION ${CMAKE_INSTALL_LIBDIR}/wivrn
COMPONENT Runtime)