mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-23 18:08:31 +08:00
cmGlobalGenerator: Don't use cmMakefile::IssueMessage after configure
This commit is contained in:
@@ -2188,9 +2188,10 @@ void cmGlobalGenerator::CreateDefaultGlobalTargets(cmTargets* targets)
|
||||
// Install
|
||||
bool skipInstallRules = mf->IsOn("CMAKE_SKIP_INSTALL_RULES");
|
||||
if (this->InstallTargetEnabled && skipInstallRules) {
|
||||
mf->IssueMessage(cmake::WARNING,
|
||||
"CMAKE_SKIP_INSTALL_RULES was enabled even though "
|
||||
"installation rules have been specified");
|
||||
this->CMakeInstance->IssueMessage(
|
||||
cmake::WARNING, "CMAKE_SKIP_INSTALL_RULES was enabled even though "
|
||||
"installation rules have been specified",
|
||||
mf->GetBacktrace());
|
||||
} else if (this->InstallTargetEnabled && !skipInstallRules) {
|
||||
if (!cmakeCfgIntDir || !*cmakeCfgIntDir || cmakeCfgIntDir[0] == '.') {
|
||||
std::set<std::string>* componentsSet = &this->InstallComponents;
|
||||
|
Reference in New Issue
Block a user