diff options
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r-- | Source/cmTarget.cxx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index 295c862..e4cd4f3 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -2754,6 +2754,15 @@ const char* cmTarget::GetLocation(const std::string& config) const } //---------------------------------------------------------------------------- +const char* cmTarget::ImportedGetLocation(const std::string& config) const +{ + static std::string location; + assert(this->IsImported()); + location = this->ImportedGetFullPath(config, false); + return location.c_str(); +} + +//---------------------------------------------------------------------------- const char* cmTarget::GetLocationForBuild() const { static std::string location; |