summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorTarget.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-05-14 19:09:39 (GMT)
committerBrad King <brad.king@kitware.com>2020-05-18 16:56:56 (GMT)
commit3fa3b7a40273ba1e95c68794e1685345c8f78ab0 (patch)
tree3d755b8d43441fb1af0aefc1dbec9ba82f679658 /Source/cmGeneratorTarget.cxx
parentd6a88d21589f5b614baea16b25261b416651533c (diff)
downloadCMake-3fa3b7a40273ba1e95c68794e1685345c8f78ab0.zip
CMake-3fa3b7a40273ba1e95c68794e1685345c8f78ab0.tar.gz
CMake-3fa3b7a40273ba1e95c68794e1685345c8f78ab0.tar.bz2
cmGeneratorTarget: Remove default config from Get* methods
Ensure all call sites pass an explicit configuration.
Diffstat (limited to 'Source/cmGeneratorTarget.cxx')
-rw-r--r--Source/cmGeneratorTarget.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx
index 335f7a4..4cf2691 100644
--- a/Source/cmGeneratorTarget.cxx
+++ b/Source/cmGeneratorTarget.cxx
@@ -1097,7 +1097,8 @@ const std::string& cmGeneratorTarget::GetLocationForBuild() const
}
// Now handle the deprecated build-time configuration location.
- location = this->GetDirectory();
+ std::string const noConfig;
+ location = this->GetDirectory(noConfig);
const char* cfgid = this->Makefile->GetDefinition("CMAKE_CFG_INTDIR");
if (cfgid && strcmp(cfgid, ".") != 0) {
location += "/";