summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.h
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2014-02-10 04:09:05 (GMT)
committerBrad King <brad.king@kitware.com>2014-03-08 18:05:37 (GMT)
commit3def29da3c16ad3a72f05ea8b97ee728e6e3581e (patch)
treedd51569f6c5d8f6f8e35518f7fbc94054552d9a4 /Source/cmTarget.h
parentacb116e3b52362b41988aa27eeb593dd2e7194c0 (diff)
downloadCMake-3def29da3c16ad3a72f05ea8b97ee728e6e3581e.zip
CMake-3def29da3c16ad3a72f05ea8b97ee728e6e3581e.tar.gz
CMake-3def29da3c16ad3a72f05ea8b97ee728e6e3581e.tar.bz2
stringapi: Use strings for feature arguments
Diffstat (limited to 'Source/cmTarget.h')
-rw-r--r--Source/cmTarget.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h
index 65fbb0f..15f00be 100644
--- a/Source/cmTarget.h
+++ b/Source/cmTarget.h
@@ -232,7 +232,7 @@ public:
bool GetPropertyAsBool(const std::string& prop) const;
void CheckProperty(const std::string& prop, cmMakefile* context) const;
- const char* GetFeature(const char* feature,
+ const char* GetFeature(const std::string& feature,
const std::string& config) const;
bool IsImported() const {return this->IsImportedTarget;}