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:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user