mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-24 11:32:44 +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
|
// Install
|
||||||
bool skipInstallRules = mf->IsOn("CMAKE_SKIP_INSTALL_RULES");
|
bool skipInstallRules = mf->IsOn("CMAKE_SKIP_INSTALL_RULES");
|
||||||
if (this->InstallTargetEnabled && skipInstallRules) {
|
if (this->InstallTargetEnabled && skipInstallRules) {
|
||||||
mf->IssueMessage(cmake::WARNING,
|
this->CMakeInstance->IssueMessage(
|
||||||
"CMAKE_SKIP_INSTALL_RULES was enabled even though "
|
cmake::WARNING, "CMAKE_SKIP_INSTALL_RULES was enabled even though "
|
||||||
"installation rules have been specified");
|
"installation rules have been specified",
|
||||||
|
mf->GetBacktrace());
|
||||||
} else if (this->InstallTargetEnabled && !skipInstallRules) {
|
} else if (this->InstallTargetEnabled && !skipInstallRules) {
|
||||||
if (!cmakeCfgIntDir || !*cmakeCfgIntDir || cmakeCfgIntDir[0] == '.') {
|
if (!cmakeCfgIntDir || !*cmakeCfgIntDir || cmakeCfgIntDir[0] == '.') {
|
||||||
std::set<std::string>* componentsSet = &this->InstallComponents;
|
std::set<std::string>* componentsSet = &this->InstallComponents;
|
||||||
|
|||||||
Reference in New Issue
Block a user