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.
1 parent 961c9c0 commit 40ee59cCopy full SHA for 40ee59c
src/loader/CMakeLists.txt
@@ -41,7 +41,7 @@ run_xr_xml_generate(loader_source_generator.py xr_generated_loader.cpp)
41
if(DYNAMIC_LOADER)
42
add_definitions(-DXRAPI_DLL_EXPORT)
43
set(LIBRARY_TYPE SHARED)
44
- if(WIN32)
+ if(MSVC)
45
list(APPEND openxr_loader_RESOURCE_FILE ${CMAKE_CURRENT_SOURCE_DIR}/openxr-loader.def)
46
endif()
47
else() # build static lib
@@ -335,7 +335,7 @@ install(
335
COMPONENT CMakeConfigs
336
)
337
338
-if(WIN32 AND DYNAMIC_LOADER)
+if(MSVC AND DYNAMIC_LOADER)
339
install(FILES $<TARGET_PDB_FILE:openxr_loader> DESTINATION ${CMAKE_INSTALL_BINDIR} OPTIONAL)
340
341
0 commit comments