summaryrefslogtreecommitdiffstats
path: root/Source/cmAddDependenciesCommand.cxx
diff options
context:
space:
mode:
authorNils Gladitz <nilsgladitz@gmail.com>2014-01-12 11:58:04 (GMT)
committerNils Gladitz <nilsgladitz@gmail.com>2014-01-12 11:58:04 (GMT)
commit0bf6f13b1dc278b68c1ddf94d838014852ada679 (patch)
tree3464265a00fc0ad27c36d5b3bf0c9c81ff8f49c5 /Source/cmAddDependenciesCommand.cxx
parentcb7af7af44bd9ce5ac11e345b1756ea0770bbc83 (diff)
downloadCMake-0bf6f13b1dc278b68c1ddf94d838014852ada679.zip
CMake-0bf6f13b1dc278b68c1ddf94d838014852ada679.tar.gz
CMake-0bf6f13b1dc278b68c1ddf94d838014852ada679.tar.bz2
AddDependencies: new policy requires dependencies to exist
Added new policy CMP0046 which requires dependencies added by add_dependencies() to actually exist.
Diffstat (limited to 'Source/cmAddDependenciesCommand.cxx')
-rw-r--r--Source/cmAddDependenciesCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmAddDependenciesCommand.cxx b/Source/cmAddDependenciesCommand.cxx
index 87bfb3c..a7ffded 100644
--- a/Source/cmAddDependenciesCommand.cxx
+++ b/Source/cmAddDependenciesCommand.cxx
@@ -46,7 +46,7 @@ bool cmAddDependenciesCommand
++s; // skip over target_name
for (; s != args.end(); ++s)
{
- target->AddUtility(s->c_str());
+ target->AddUtility(s->c_str(), this->Makefile);
}
}
else