summaryrefslogtreecommitdiff
path: root/Source/cmTarget.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2014-03-10 14:42:27 +0100
committerStephen Kelly <steveire@gmail.com>2015-07-27 21:58:50 +0200
commit5b60eaf619baf4dfa2bc1a3f1109ff742a04f532 (patch)
tree16aedfec8ca596e5e0072ffffadec6842cc74833 /Source/cmTarget.h
parent50b17a6112704ad3897b1ccc87a0061cf7949ee7 (diff)
downloadcmake-5b60eaf619baf4dfa2bc1a3f1109ff742a04f532.tar.gz
cmTarget: Restore the ImportedGetLocation method.
It was removed in commit f154475b (cmTarget: Refactor GetLocation API, 2014-03-08), but it is more readable for targets we know are imported.
Diffstat (limited to 'Source/cmTarget.h')
-rw-r--r--Source/cmTarget.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h
index 1920312552..a0198e2e4e 100644
--- a/Source/cmTarget.h
+++ b/Source/cmTarget.h
@@ -377,6 +377,7 @@ public:
/** Get the location of the target in the build tree for the given
configuration. */
const char* GetLocation(const std::string& config) const;
+ const char* ImportedGetLocation(const std::string& config) const;
/** Get the location of the target in the build tree with a placeholder
referencing the configuration in the native build system. This