2016-09-27 19:01:08 +00:00
|
|
|
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
|
|
|
# file Copyright.txt or https://cmake.org/licensing for details.
|
|
|
|
|
2013-10-15 15:17:36 +00:00
|
|
|
#.rst:
|
|
|
|
# FindQuickTime
|
|
|
|
# -------------
|
|
|
|
#
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# Locate QuickTime This module defines QUICKTIME_LIBRARY
|
2012-08-13 17:42:58 +00:00
|
|
|
# QUICKTIME_FOUND, if false, do not try to link to gdal
|
2007-12-21 01:59:44 +00:00
|
|
|
# QUICKTIME_INCLUDE_DIR, where to find the headers
|
|
|
|
#
|
2013-10-15 15:17:36 +00:00
|
|
|
# $QUICKTIME_DIR is an environment variable that would correspond to the
|
|
|
|
# ./configure --prefix=$QUICKTIME_DIR
|
2007-12-21 01:59:44 +00:00
|
|
|
#
|
2012-08-13 17:42:58 +00:00
|
|
|
# Created by Eric Wing.
|
2007-12-21 01:59:44 +00:00
|
|
|
|
2012-03-28 22:51:06 +00:00
|
|
|
find_path(QUICKTIME_INCLUDE_DIR QuickTime/QuickTime.h QuickTime.h
|
|
|
|
HINTS
|
|
|
|
ENV QUICKTIME_DIR
|
|
|
|
PATH_SUFFIXES
|
|
|
|
include
|
|
|
|
)
|
|
|
|
find_library(QUICKTIME_LIBRARY QuickTime
|
|
|
|
HINTS
|
|
|
|
ENV QUICKTIME_DIR
|
|
|
|
PATH_SUFFIXES
|
|
|
|
lib
|
|
|
|
)
|
2007-12-21 01:59:44 +00:00
|
|
|
|
2012-08-13 17:47:32 +00:00
|
|
|
include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake)
|
2010-04-17 06:32:19 +00:00
|
|
|
FIND_PACKAGE_HANDLE_STANDARD_ARGS(QuickTime DEFAULT_MSG QUICKTIME_LIBRARY QUICKTIME_INCLUDE_DIR)
|