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 /Tests/RunCMake/CMP0046/RunCMakeTest.cmake | |
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 'Tests/RunCMake/CMP0046/RunCMakeTest.cmake')
-rw-r--r-- | Tests/RunCMake/CMP0046/RunCMakeTest.cmake | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMP0046/RunCMakeTest.cmake b/Tests/RunCMake/CMP0046/RunCMakeTest.cmake new file mode 100644 index 0000000..5131e5b --- /dev/null +++ b/Tests/RunCMake/CMP0046/RunCMakeTest.cmake @@ -0,0 +1,8 @@ +include(RunCMake) + +run_cmake(CMP0046-OLD-missing-dependency) +run_cmake(CMP0046-NEW-missing-dependency) +run_cmake(CMP0046-WARN-missing-dependency) + +run_cmake(CMP0046-OLD-existing-dependency) +run_cmake(CMP0046-NEW-existing-dependency) |