FindDart: use find_package_handle_standard_args()

This commit is contained in:
Kovarththanan Rajaratnam 2010-04-17 12:51:13 +02:00
parent da4388045e
commit 272308a406
1 changed files with 5 additions and 0 deletions

View File

@ -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)