blob: c26adca44c4c630b714c6699a312b71ddb99743a [file] [log] [blame] [edit]
--- a/src/loader/CMakeLists.txt
+++ b/src/loader/CMakeLists.txt
@@ -251,7 +256,7 @@
NAMESPACE OpenXR::
)
-if((CMAKE_SYSTEM_NAME STREQUAL "Windows") OR (CMAKE_SYSTEM_NAME STREQUAL "WindowsStore"))
+if(MSVC)
set(TARGET_DESTINATION cmake)
else()
set(TARGET_DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/openxr/)