summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorKovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>2010-04-17 10:51:13 (GMT)
committerKovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>2010-04-18 07:27:31 (GMT)
commit272308a406e3067175f6cddf95d4317afed4e960 (patch)
tree89ae4d7af47a31ec206ab561a8479e94ecf5f785 /Modules
parentda4388045eb0a3af92849313897f5f648ffbea80 (diff)
downloadCMake-272308a406e3067175f6cddf95d4317afed4e960.zip
CMake-272308a406e3067175f6cddf95d4317afed4e960.tar.gz
CMake-272308a406e3067175f6cddf95d4317afed4e960.tar.bz2
FindDart: use find_package_handle_standard_args()
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindDart.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/Modules/FindDart.cmake b/Modules/FindDart.cmake
index 61da08e..65da21a 100644
--- a/Modules/FindDart.cmake
+++ b/Modules/FindDart.cmake
@@ -28,4 +28,9 @@ FIND_PATH(DART_ROOT README.INSTALL
DOC "If you have Dart installed, where is it located?"
)
+# handle the QUIETLY and REQUIRED arguments and set DART_FOUND to TRUE if
+# all listed variables are TRUE
+INCLUDE(FindPackageHandleStandardArgs)
+FIND_PACKAGE_HANDLE_STANDARD_ARGS(Dart DEFAULT_MSG DART_ROOT)
+
MARK_AS_ADVANCED(DART_ROOT)