--- 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/) |