diff options
author | Nils Gladitz <nilsgladitz@gmail.com> | 2014-01-12 11:58:04 (GMT) |
---|---|---|
committer | Nils Gladitz <nilsgladitz@gmail.com> | 2014-01-12 11:58:04 (GMT) |
commit | 0bf6f13b1dc278b68c1ddf94d838014852ada679 (patch) | |
tree | 3464265a00fc0ad27c36d5b3bf0c9c81ff8f49c5 /Source/cmAddDependenciesCommand.cxx | |
parent | cb7af7af44bd9ce5ac11e345b1756ea0770bbc83 (diff) | |
download | CMake-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.cxx | 2 |
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 |