4 # QUICKTIME_FOUND, if false, do not try to link to gdal
5 # QUICKTIME_INCLUDE_DIR, where to find the headers
7 # $QUICKTIME_DIR is an environment variable that would
8 # correspond to the ./configure --prefix=$QUICKTIME_DIR
10 # Created by Eric Wing.
12 #=============================================================================
13 # Copyright 2007-2009 Kitware, Inc.
15 # Distributed under the OSI-approved BSD License (the "License");
16 # see accompanying file Copyright.txt for details.
18 # This software is distributed WITHOUT ANY WARRANTY; without even the
19 # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
20 # See the License for more information.
21 #=============================================================================
22 # (To distribute this file outside of CMake, substitute the full
23 # License text for the above reference.)
25 find_path(QUICKTIME_INCLUDE_DIR QuickTime/QuickTime.h QuickTime.h
31 find_library(QUICKTIME_LIBRARY QuickTime
38 # handle the QUIETLY and REQUIRED arguments and set QUICKTIME_FOUND to TRUE if
39 # all listed variables are TRUE
40 include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake)
41 FIND_PACKAGE_HANDLE_STANDARD_ARGS(QuickTime DEFAULT_MSG QUICKTIME_LIBRARY QUICKTIME_INCLUDE_DIR)