FindQuickTime: use find_package_handle_standard_args()
This commit is contained in:
parent
5abed16cc2
commit
9629443616
|
@ -41,9 +41,7 @@ ELSE(APPLE)
|
|||
)
|
||||
ENDIF(APPLE)
|
||||
|
||||
SET(QUICKTIME_FOUND "NO")
|
||||
IF(QUICKTIME_LIBRARY AND QUICKTIME_INCLUDE_DIR)
|
||||
SET(QUICKTIME_FOUND "YES")
|
||||
ENDIF(QUICKTIME_LIBRARY AND QUICKTIME_INCLUDE_DIR)
|
||||
|
||||
|
||||
# handle the QUIETLY and REQUIRED arguments and set QUICKTIME_FOUND to TRUE if
|
||||
# all listed variables are TRUE
|
||||
INCLUDE(FindPackageHandleStandardArgs)
|
||||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(QuickTime DEFAULT_MSG QUICKTIME_LIBRARY QUICKTIME_INCLUDE_DIR)
|
||||
|
|
Loading…
Reference in New Issue