mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
Merge topic 'ninja-multi-default-config-fix'
1844be451e Ninja Multi-Config: Fix issue with CMAKE_NMC_DEFAULT_BUILD_FILE_CONFIG
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4331
This commit is contained in:
@@ -2658,6 +2658,7 @@ bool cmGlobalNinjaMultiGenerator::ReadCacheEntriesForBuild(
|
||||
defaultConfigsString = this->DefaultFileConfig;
|
||||
}
|
||||
if (!defaultConfigsString.empty() &&
|
||||
defaultConfigsString != this->DefaultFileConfig &&
|
||||
(this->DefaultFileConfig.empty() || this->CrossConfigs.empty())) {
|
||||
std::ostringstream msg;
|
||||
msg << "CMAKE_NMC_DEFAULT_CONFIGS cannot be used without "
|
||||
|
||||
Reference in New Issue
Block a user