From Mattias Helsing, "I finally got to fix the cmake Modules that have duplicates in later

version of cmake. See attached submission. I have tested the ones that
I compile myself (GDAL, Freetype, ZLIB) on ubuntu 12.04 with
cmake-2.8.7."
This commit is contained in:
Robert Osfield
2014-04-29 12:19:21 +00:00
parent ecd26f9f5b
commit fa6f5219bf
7 changed files with 59 additions and 0 deletions

View File

@@ -9,6 +9,16 @@
#
# Created by Eric Wing.
# prefer FindQuickTime from cmake distribution
if(EXISTS ${CMAKE_ROOT}/Modules/FindQuickTime.cmake)
include(${CMAKE_ROOT}/Modules/FindQuickTime.cmake)
if(QUICKTIME_FOUND)
return()
endif()
endif()
# QuickTime on OS X looks different than QuickTime for Windows,
# so I am going to case the two.