diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-06-13 17:32:46 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-06-21 18:17:59 (GMT) |
commit | eb05dcd6c9b587eeb8738d9f08459d94733708f6 (patch) | |
tree | 63088e3acd3caf40963bf80e299f3b668e5d71d8 /Source/cmGeneratorTarget.cxx | |
parent | cfae7fa4082e73d4282be98fa99a07c18dd53d24 (diff) | |
download | CMake-eb05dcd6c9b587eeb8738d9f08459d94733708f6.zip CMake-eb05dcd6c9b587eeb8738d9f08459d94733708f6.tar.gz CMake-eb05dcd6c9b587eeb8738d9f08459d94733708f6.tar.bz2 |
cmLocalGenerator: Add IssueMessage method.
For use at generate-time instead of the cmMakefile method of the same name.
Diffstat (limited to 'Source/cmGeneratorTarget.cxx')
-rw-r--r-- | Source/cmGeneratorTarget.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx index 67d0d54..2f68ab0 100644 --- a/Source/cmGeneratorTarget.cxx +++ b/Source/cmGeneratorTarget.cxx @@ -705,7 +705,8 @@ cmTargetTraceDependencies e << "Evaluation output file\n \"" << sf->GetFullPath() << "\"\ndepends on the sources of a target it is used in. This " "is a dependency loop and is not allowed."; - this->Makefile->IssueMessage(cmake::FATAL_ERROR, e.str()); + this->GeneratorTarget + ->LocalGenerator->IssueMessage(cmake::FATAL_ERROR, e.str()); return; } if(emitted.insert(sf).second && this->SourcesQueued.insert(sf).second) |