diff options
author | Brad King <brad.king@kitware.com> | 2014-03-08 12:55:46 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-03-08 18:05:36 (GMT) |
commit | f154475b65738444414312d7d5a255f3220d90c6 (patch) | |
tree | b5a619eb570bfd4be813af7283c58be727e52624 /Source/cmGlobalKdevelopGenerator.cxx | |
parent | cfc2cf9559eacbf45d04249ee1dd7f75bb0cdff0 (diff) | |
download | CMake-f154475b65738444414312d7d5a255f3220d90c6.zip CMake-f154475b65738444414312d7d5a255f3220d90c6.tar.gz CMake-f154475b65738444414312d7d5a255f3220d90c6.tar.bz2 |
cmTarget: Refactor GetLocation API
When given a non-NULL configuration the GetLocation returned the
location for the given configuration. When given a NULL configuration
the GetLocation method returned a location with the build-system
placeholder for the configuration name. Split the latter use case out
into a separate GetLocationForBuild method and update call sites
accordingly.
Diffstat (limited to 'Source/cmGlobalKdevelopGenerator.cxx')
-rw-r--r-- | Source/cmGlobalKdevelopGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalKdevelopGenerator.cxx b/Source/cmGlobalKdevelopGenerator.cxx index 25df953..2d485f6 100644 --- a/Source/cmGlobalKdevelopGenerator.cxx +++ b/Source/cmGlobalKdevelopGenerator.cxx @@ -76,7 +76,7 @@ void cmGlobalKdevelopGenerator::Generate() { if (ti->second.GetType()==cmTarget::EXECUTABLE) { - executable = ti->second.GetLocation(0); + executable = ti->second.GetLocation(""); break; } } |