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 c330a6f commit 908ab63Copy full SHA for 908ab63
cmake/XRay.Configurations.cmake
@@ -18,6 +18,9 @@ if (is_multi_config)
18
message(WARNING "CMAKE_BUILD_TYPE is ignored with multi-config generator.")
19
unset(CMAKE_BUILD_TYPE)
20
endif()
21
+ if (CMAKE_GENERATOR MATCHES "Visual Studio")
22
+ unset(CMAKE_DEFAULT_BUILD_TYPE)
23
+ endif()
24
else()
25
message(DEBUG "CMAKE_BUILD_TYPE: ${CMAKE_BUILD_TYPE}")
26
if (NOT CMAKE_BUILD_TYPE)
0 commit comments