summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2014-03-17 15:54:11 (GMT)
committerStephen Kelly <steveire@gmail.com>2014-03-31 21:18:43 (GMT)
commit0ed5ce4cd8cdd7613a5fa43c9a9fc48f210c90f6 (patch)
tree8536c32f3e3d496b6987a64b9bd5bc02752a9da9 /Source/cmMakefile.cxx
parent99a9c51f1a65b58f366506929b3b82297809c1ca (diff)
downloadCMake-0ed5ce4cd8cdd7613a5fa43c9a9fc48f210c90f6.zip
CMake-0ed5ce4cd8cdd7613a5fa43c9a9fc48f210c90f6.tar.gz
CMake-0ed5ce4cd8cdd7613a5fa43c9a9fc48f210c90f6.tar.bz2
cmTarget: Rename AddSource method for backward compatibility.
Add a new AddSource method for future use.
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r--Source/cmMakefile.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index dce71de..1fcbcd7 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -1266,7 +1266,7 @@ cmMakefile::AddUtilityCommand(const std::string& utilityName,
commandLines, comment,
workingDirectory, no_replace,
escapeOldStyle);
- cmSourceFile* sf = target->AddSource(force);
+ cmSourceFile* sf = target->AddSourceCMP0049(force);
// The output is not actually created so mark it symbolic.
if(sf)