summaryrefslogtreecommitdiff
path: root/Modules/FindDart.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-02-27 14:13:21 -0500
committerBrad King <brad.king@kitware.com>2023-02-28 08:43:45 -0500
commit2e469212c89c8a7569cc21e271298040d8a2190c (patch)
tree0b2c72bfe77cb7502812529e430c39e1f1bb5971 /Modules/FindDart.cmake
parent6dd2948b4b7801ab66660d905d795913db034b25 (diff)
downloadcmake-2e469212c89c8a7569cc21e271298040d8a2190c.tar.gz
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 'Modules/FindDart.cmake')
-rw-r--r--Modules/FindDart.cmake8
1 files changed, 8 insertions, 0 deletions
diff --git a/Modules/FindDart.cmake b/Modules/FindDart.cmake
index 04925783b8..fed50e178c 100644
--- a/Modules/FindDart.cmake
+++ b/Modules/FindDart.cmake
@@ -5,12 +5,20 @@
FindDart
--------
+.. deprecated:: 3.27
+ This module is available only if policy :policy:`CMP0145` is not set to ``NEW``.
+
Find DART
This module looks for the dart testing software and sets DART_ROOT to
point to where it found it.
#]=======================================================================]
+if(_FindDart_testing)
+ set(_FindDart_included TRUE)
+ return()
+endif()
+
find_path(DART_ROOT README.INSTALL
HINTS
ENV DART_ROOT