summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/find_package/CMP0145-WARN.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-02-27 19:13:21 (GMT)
committerBrad King <brad.king@kitware.com>2023-02-28 13:43:45 (GMT)
commit2e469212c89c8a7569cc21e271298040d8a2190c (patch)
tree0b2c72bfe77cb7502812529e430c39e1f1bb5971 /Tests/RunCMake/find_package/CMP0145-WARN.cmake
parent6dd2948b4b7801ab66660d905d795913db034b25 (diff)
downloadCMake-2e469212c89c8a7569cc21e271298040d8a2190c.zip
CMake-2e469212c89c8a7569cc21e271298040d8a2190c.tar.gz
CMake-2e469212c89c8a7569cc21e271298040d8a2190c.tar.bz2
Dart,FindDart: Add policy to remove these modules
These modules and the "DART" tool they support have long been replaced by CTest.
Diffstat (limited to 'Tests/RunCMake/find_package/CMP0145-WARN.cmake')
-rw-r--r--Tests/RunCMake/find_package/CMP0145-WARN.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/RunCMake/find_package/CMP0145-WARN.cmake b/Tests/RunCMake/find_package/CMP0145-WARN.cmake
new file mode 100644
index 0000000..76da752
--- /dev/null
+++ b/Tests/RunCMake/find_package/CMP0145-WARN.cmake
@@ -0,0 +1,6 @@
+set(_FindDart_testing TRUE)
+find_package(Dart MODULE)
+
+if(NOT _FindDart_included)
+ message(FATAL_ERROR "FindDart.cmake not included")
+endif()