summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.h
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2014-02-06 19:05:57 (GMT)
committerBrad King <brad.king@kitware.com>2014-03-08 18:05:29 (GMT)
commit310ef08fed57b1c60ea8dc8ed98520e2cb0bff4e (patch)
tree89b17e537dd73551de0c5c225b18a6bfbee2ed8b /Source/cmTarget.h
parent24e8b929eef74098d4ddf4581619322e0f4b5108 (diff)
downloadCMake-310ef08fed57b1c60ea8dc8ed98520e2cb0bff4e.zip
CMake-310ef08fed57b1c60ea8dc8ed98520e2cb0bff4e.tar.gz
CMake-310ef08fed57b1c60ea8dc8ed98520e2cb0bff4e.tar.bz2
stringapi: Use strings for source names
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 f0dd708..9f7b811 100644
--- a/Source/cmTarget.h
+++ b/Source/cmTarget.h
@@ -143,7 +143,7 @@ public:
* Add sources to the target.
*/
void AddSources(std::vector<std::string> const& srcs);
- cmSourceFile* AddSource(const char* src);
+ cmSourceFile* AddSource(const std::string& src);
enum LinkLibraryType {GENERAL, DEBUG, OPTIMIZED};