Skip to content

Commit 7c29aaf

Browse files
Fix: export openxr-all-supported where in the same file it's defined
1 parent 1dd608f commit 7c29aaf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,8 @@ endif()
149149
if(BUILD_WITH_WAYLAND_HEADERS)
150150
target_compile_definitions(openxr-all-supported INTERFACE XR_USE_PLATFORM_WAYLAND)
151151
endif()
152+
# openxr-all-supported is a dependency of openxr_loader so it should be added to the export set
153+
install(TARGETS openxr-all-supported EXPORT openxr_loader_export)
152154

153155
# Find glslc shader compiler.
154156
# On Android, the NDK includes the binary, so no external dependency.

src/loader/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,8 +243,6 @@ install(
243243
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
244244
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
245245
)
246-
# openxr-all-supported is a dependency of openxr_loader so it should be added to the export set
247-
install(TARGETS openxr-all-supported EXPORT openxr_loader_export)
248246

249247
export(
250248
EXPORT openxr_loader_export

0 commit comments

Comments
 (0)