summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Modules/FindDart.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/Modules/FindDart.cmake b/Modules/FindDart.cmake
index 61da08ea39..65da21a2b2 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)