diff options
Diffstat (limited to 'Modules/FindDart.cmake')
-rw-r--r-- | Modules/FindDart.cmake | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Modules/FindDart.cmake b/Modules/FindDart.cmake index f8c2747..65da21a 100644 --- a/Modules/FindDart.cmake +++ b/Modules/FindDart.cmake @@ -27,3 +27,10 @@ FIND_PATH(DART_ROOT README.INSTALL [HKEY_LOCAL_MACHINE\\SOFTWARE\\Dart\\InstallPath] 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) |