diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2014-03-10 22:32:00 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2014-05-02 17:05:44 (GMT) |
commit | 3c640891177923e71a0a50d26988a3595a0f3c43 (patch) | |
tree | 53c39f3faeb3ee3a677031d7ca7f369f1960ea6d /Source/cmNinjaTargetGenerator.cxx | |
parent | 94429287454a3b40268dd48db7b38f158bbecd93 (diff) | |
download | CMake-3c640891177923e71a0a50d26988a3595a0f3c43.zip CMake-3c640891177923e71a0a50d26988a3595a0f3c43.tar.gz CMake-3c640891177923e71a0a50d26988a3595a0f3c43.tar.bz2 |
ninja: Use string parameters
Diffstat (limited to 'Source/cmNinjaTargetGenerator.cxx')
-rw-r--r-- | Source/cmNinjaTargetGenerator.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/cmNinjaTargetGenerator.cxx b/Source/cmNinjaTargetGenerator.cxx index cb6eb90..358fb51 100644 --- a/Source/cmNinjaTargetGenerator.cxx +++ b/Source/cmNinjaTargetGenerator.cxx @@ -760,9 +760,10 @@ cmNinjaTargetGenerator::MacOSXContentGeneratorType::operator()( this->Generator->GetGlobalGenerator()->AddDependencyToAll(output); } -void cmNinjaTargetGenerator::addPoolNinjaVariable(const char* pool_property, - cmTarget* target, - cmNinjaVars& vars) +void cmNinjaTargetGenerator::addPoolNinjaVariable( + const std::string& pool_property, + cmTarget* target, + cmNinjaVars& vars) { const char* pool = target->GetProperty(pool_property); if (pool) |