We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6dee6e2 + ba68a87 commit 10a2deaCopy full SHA for 10a2dea
changes/sdk/pr.206.gh.OpenXR-SDK-Source.md
@@ -0,0 +1 @@
1
+cmake: fix openxr_loader target export when installing both Release and Debug config on Windows.
src/loader/CMakeLists.txt
@@ -240,9 +240,9 @@ endif()
240
241
install(
242
TARGETS openxr_loader EXPORT openxr_loader_export
243
- LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
244
- ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
245
- RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
+ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}$<$<CONFIG:Debug>:/Debug>
+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}$<$<CONFIG:Debug>:/Debug>
+ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}$<$<CONFIG:Debug>:/Debug>
246
)
247
248
export(
0 commit comments