summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalNinjaGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-06-06 12:07:15 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-06-21 19:14:05 (GMT)
commit8bfaadfa394c9b462259ea13df6b2df7c4544ab4 (patch)
tree1a845ae755348b3fa2962758b05abf5570acccfc /Source/cmLocalNinjaGenerator.cxx
parent217c243db04a21763848ac048edf153cd93bd883 (diff)
downloadCMake-8bfaadfa394c9b462259ea13df6b2df7c4544ab4.zip
CMake-8bfaadfa394c9b462259ea13df6b2df7c4544ab4.tar.gz
CMake-8bfaadfa394c9b462259ea13df6b2df7c4544ab4.tar.bz2
cmMakefile: Move IsRoot API from cmLocalGenerator.
Diffstat (limited to 'Source/cmLocalNinjaGenerator.cxx')
-rw-r--r--Source/cmLocalNinjaGenerator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmLocalNinjaGenerator.cxx b/Source/cmLocalNinjaGenerator.cxx
index 427ae10..4db36fc 100644
--- a/Source/cmLocalNinjaGenerator.cxx
+++ b/Source/cmLocalNinjaGenerator.cxx
@@ -58,7 +58,7 @@ void cmLocalNinjaGenerator::Generate()
#endif
// We do that only once for the top CMakeLists.txt file.
- if(this->IsRootMakefile())
+ if(this->Makefile->IsRootMakefile())
{
this->WriteBuildFileTop();
@@ -298,7 +298,7 @@ void cmLocalNinjaGenerator::WriteProcessedMakefile(std::ostream& os)
<< "# Write statements declared in CMakeLists.txt:" << std::endl
<< "# "
<< this->Makefile->GetDefinition("CMAKE_CURRENT_LIST_FILE") << std::endl;
- if(this->IsRootMakefile())
+ if(this->Makefile->IsRootMakefile())
os << "# Which is the root file." << std::endl;
cmGlobalNinjaGenerator::WriteDivider(os);
os << std::endl;