File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -249,7 +249,7 @@ install(TARGETS openxr-all-supported EXPORT openxr_loader_export)
249249export (
250250 EXPORT openxr_loader_export
251251 FILE ${CMAKE_CURRENT_BINARY_DIR} /OpenXRTargets.cmake
252- NAMESPACE xr ::
252+ NAMESPACE OpenXR ::
253253)
254254
255255if (CMAKE_SYSTEM_NAME STREQUAL "Windows" )
@@ -261,7 +261,7 @@ endif()
261261install (
262262 EXPORT openxr_loader_export
263263 FILE OpenXRTargets.cmake
264- NAMESPACE xr ::
264+ NAMESPACE OpenXR ::
265265 DESTINATION ${TARGET_DESTINATION}
266266)
267267
Original file line number Diff line number Diff line change 44# The header openxr.h is not added to the export target so we add the include directory here
55include ("${CMAKE_CURRENT_LIST_DIR} /OpenXRTargets.cmake" )
66set_and_check(OpenXR_INCLUDE_DIR "@PACKAGE_INCLUDE_INSTALL_DIR@" )
7- target_include_directories (xr::openxr_loader INTERFACE ${OpenXR_INCLUDE_DIR} )
7+ target_include_directories (OpenXR::openxr_loader INTERFACE ${OpenXR_INCLUDE_DIR} )
8+
9+ add_library (OpenXR::headers INTERFACE IMPORTED )
10+ target_include_directories (OpenXR::headers SYSTEM INTERFACE ${OpenXR_INCLUDE_DIR} )
811
912check_required_components(OpenXR)
You can’t perform that action at this time.
0 commit comments