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
21 $ENV{QUICKTIME_DIR}/include
24 FIND_LIBRARY(QUICKTIME_LIBRARY QuickTime
26 $ENV{QUICKTIME_DIR}/lib
31 SET(QUICKTIME_FOUND "NO")
32 IF(QUICKTIME_LIBRARY AND QUICKTIME_INCLUDE_DIR)
33 SET(QUICKTIME_FOUND "YES")
34 ENDIF(QUICKTIME_LIBRARY AND QUICKTIME_INCLUDE_DIR)