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 # QuickTime on OS X looks different than QuickTime for Windows,
13 # so I am going to case the two.
16 FIND_PATH(QUICKTIME_INCLUDE_DIR QuickTime/QuickTime.h)
17 FIND_LIBRARY(QUICKTIME_LIBRARY QuickTime)
19 FIND_PATH(QUICKTIME_INCLUDE_DIR QuickTime.h
20 $ENV{QUICKTIME_DIR}/include
25 FIND_PATH(QUICKTIME_INCLUDE_DIR QuickTime.h)
27 FIND_LIBRARY(QUICKTIME_LIBRARY QuickTime
28 $ENV{QUICKTIME_DIR}/lib
33 FIND_LIBRARY(QUICKTIME_LIBRARY QuickTime)
36 SET(QUICKTIME_FOUND "NO")
37 IF(QUICKTIME_LIBRARY AND QUICKTIME_INCLUDE_DIR)
38 SET(QUICKTIME_FOUND "YES")
39 ENDIF(QUICKTIME_LIBRARY AND QUICKTIME_INCLUDE_DIR)