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 b420c5c commit b8010baCopy full SHA for b8010ba
cmake/XRay.Configurations.cmake
@@ -11,7 +11,7 @@ set(XRAY_DEFAULT_BUILD_TYPE ReleaseMasterGold)
11
12
get_property(is_multi_config GLOBAL PROPERTY GENERATOR_IS_MULTI_CONFIG)
13
if (is_multi_config)
14
- if (NOT CMAKE_DEFAULT_BUILD_TYPE)
+ if (NOT CMAKE_DEFAULT_BUILD_TYPE AND NOT CMAKE_GENERATOR MATCHES "Visual Studio")
15
set(CMAKE_DEFAULT_BUILD_TYPE ${XRAY_DEFAULT_BUILD_TYPE})
16
endif()
17
if (CMAKE_BUILD_TYPE)
0 commit comments