summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMakeLists.txt
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 /Tests/RunCMake/CMakeLists.txt
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 'Tests/RunCMake/CMakeLists.txt')
-rw-r--r--Tests/RunCMake/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMakeLists.txt b/Tests/RunCMake/CMakeLists.txt
index 77700d7..1c23bcd 100644
--- a/Tests/RunCMake/CMakeLists.txt
+++ b/Tests/RunCMake/CMakeLists.txt
@@ -66,6 +66,7 @@ if(CMAKE_SYSTEM_NAME MATCHES Darwin AND CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG)
endif()
add_RunCMake_test(CMP0043)
add_RunCMake_test(CMP0045)
+add_RunCMake_test(CMP0046)
add_RunCMake_test(CTest)
if(UNIX AND "${CMAKE_TEST_GENERATOR}" MATCHES "Unix Makefiles")
add_RunCMake_test(CompilerChange)