1 # Distributed under the OSI-approved BSD 3-Clause License. See accompanying
2 # file Copyright.txt or https://cmake.org/licensing for details.
4 #[=======================================================================[.rst:
9 This module is available only if policy :policy:`CMP0145` is not set to ``NEW``.
13 This module looks for the dart testing software and sets DART_ROOT to
14 point to where it found it.
15 #]=======================================================================]
18 set(_FindDart_included TRUE)
22 find_path(DART_ROOT README.INSTALL
30 ${PROJECT_SOURCE_DIR}/..
31 [HKEY_LOCAL_MACHINE\\SOFTWARE\\Dart\\InstallPath]
35 DOC "If you have Dart installed, where is it located?"
38 include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake)
39 FIND_PACKAGE_HANDLE_STANDARD_ARGS(Dart DEFAULT_MSG DART_ROOT)
41 mark_as_advanced(DART_ROOT)