Skip to content

Commit

Permalink
Fix: export openxr-all-supported where in the same file it's defined
Browse files Browse the repository at this point in the history
  • Loading branch information
matthieucoquet committed May 13, 2020
1 parent 1dd608f commit 7c29aaf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/CMakeLists.txt
Expand Up @@ -149,6 +149,8 @@ endif()
if(BUILD_WITH_WAYLAND_HEADERS)
target_compile_definitions(openxr-all-supported INTERFACE XR_USE_PLATFORM_WAYLAND)
endif()
# openxr-all-supported is a dependency of openxr_loader so it should be added to the export set
install(TARGETS openxr-all-supported EXPORT openxr_loader_export)

# Find glslc shader compiler.
# On Android, the NDK includes the binary, so no external dependency.
Expand Down
2 changes: 0 additions & 2 deletions src/loader/CMakeLists.txt
Expand Up @@ -243,8 +243,6 @@ install(
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
)
# openxr-all-supported is a dependency of openxr_loader so it should be added to the export set
install(TARGETS openxr-all-supported EXPORT openxr_loader_export)

export(
EXPORT openxr_loader_export
Expand Down

0 comments on commit 7c29aaf

Please sign in to comment.