diff options
author | Brad King <brad.king@kitware.com> | 2023-02-27 19:13:21 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-02-28 13:43:45 (GMT) |
commit | 2e469212c89c8a7569cc21e271298040d8a2190c (patch) | |
tree | 0b2c72bfe77cb7502812529e430c39e1f1bb5971 /Tests/RunCMake/find_package/CMP0145-WARN.cmake | |
parent | 6dd2948b4b7801ab66660d905d795913db034b25 (diff) | |
download | CMake-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.cmake | 6 |
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() |