FindQuickTime: use find_package_handle_standard_args()

This commit is contained in:
Kovarththanan Rajaratnam 2010-04-17 08:32:19 +02:00
parent 5abed16cc2
commit 9629443616
1 changed files with 4 additions and 6 deletions

View File

@ -41,9 +41,7 @@ ELSE(APPLE)
) )
ENDIF(APPLE) ENDIF(APPLE)
SET(QUICKTIME_FOUND "NO") # handle the QUIETLY and REQUIRED arguments and set QUICKTIME_FOUND to TRUE if
IF(QUICKTIME_LIBRARY AND QUICKTIME_INCLUDE_DIR) # all listed variables are TRUE
SET(QUICKTIME_FOUND "YES") INCLUDE(FindPackageHandleStandardArgs)
ENDIF(QUICKTIME_LIBRARY AND QUICKTIME_INCLUDE_DIR) FIND_PACKAGE_HANDLE_STANDARD_ARGS(QuickTime DEFAULT_MSG QUICKTIME_LIBRARY QUICKTIME_INCLUDE_DIR)