diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-04-16 18:06:54 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-04-20 22:15:20 (GMT) |
commit | 32b8f03acc0357121ec8f2b96599d5eeaf38c0b4 (patch) | |
tree | a49a10b084858882573ce83bb0e2db5bc2cea9f3 /Source/cmNinjaTargetGenerator.cxx | |
parent | 54d6a9187f24bbff9e344d8aa6b3c0d66167094d (diff) | |
download | CMake-32b8f03acc0357121ec8f2b96599d5eeaf38c0b4.zip CMake-32b8f03acc0357121ec8f2b96599d5eeaf38c0b4.tar.gz CMake-32b8f03acc0357121ec8f2b96599d5eeaf38c0b4.tar.bz2 |
cmMakefile: Port users of GetStart* methods to new names.
Diffstat (limited to 'Source/cmNinjaTargetGenerator.cxx')
-rw-r--r-- | Source/cmNinjaTargetGenerator.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmNinjaTargetGenerator.cxx b/Source/cmNinjaTargetGenerator.cxx index 92fccd3..dfd3c04 100644 --- a/Source/cmNinjaTargetGenerator.cxx +++ b/Source/cmNinjaTargetGenerator.cxx @@ -45,7 +45,8 @@ cmNinjaTargetGenerator::New(cmGeneratorTarget* target) // (i.e. top-level) directory. CMake creates copies of these targets // in every directory, which we don't need. cmMakefile *mf = target->Target->GetMakefile(); - if (strcmp(mf->GetStartDirectory(), mf->GetHomeDirectory()) == 0) + if (strcmp(mf->GetCurrentSourceDirectory(), + mf->GetHomeDirectory()) == 0) return new cmNinjaUtilityTargetGenerator(target); // else fallthrough } |