summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2016-01-28 21:10:27 (GMT)
committerStephen Kelly <steveire@gmail.com>2016-06-12 17:01:45 (GMT)
commitdf8c3130d6e31558469cd1f0daa63e65cec79af1 (patch)
tree8fc83fedf154358306b98efd9c36b2f1ba6bd1c4
parent946d1e50dc80bfb593ad7b6d4bded279fa17ced9 (diff)
downloadCMake-df8c3130d6e31558469cd1f0daa63e65cec79af1.zip
CMake-df8c3130d6e31558469cd1f0daa63e65cec79af1.tar.gz
CMake-df8c3130d6e31558469cd1f0daa63e65cec79af1.tar.bz2
cmGlobalGenerator: Don't use cmMakefile::IssueMessage after configure
-rw-r--r--Source/cmGlobalGenerator.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx
index fc34b8b..aef3f44 100644
--- a/Source/cmGlobalGenerator.cxx
+++ b/Source/cmGlobalGenerator.cxx
@@ -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;