From Stephan Huber, "attached you'll find some tweaks for the FindQuicktime and

> FindQTKit-cmake-plugins, so they get disabled for ios-builds."
This commit is contained in:
Robert Osfield 2011-06-14 09:01:54 +00:00
parent 7f05605c16
commit de3dc57edc
2 changed files with 8 additions and 0 deletions

View File

@ -23,6 +23,10 @@ IF(QTKIT_LIBRARY AND QTKIT_INCLUDE_DIR)
SET(QTKIT_FOUND "YES") SET(QTKIT_FOUND "YES")
ENDIF() ENDIF()
IF(OSG_BUILD_PLATFORM_IPHONE OR OSG_BUILD_PLATFORM_IPHONE_SIMULATOR)
SET(QTKIT_FOUND "NO")
ENDIF()
IF(APPLE) IF(APPLE)
# Technically QTKit is 64-bit capable, but the QTKit plug-in currently uses # Technically QTKit is 64-bit capable, but the QTKit plug-in currently uses
# a few 32-bit only APIs to bridge QTKit and Core Video. # a few 32-bit only APIs to bridge QTKit and Core Video.

View File

@ -47,6 +47,10 @@ IF(QUICKTIME_LIBRARY AND QUICKTIME_INCLUDE_DIR)
SET(QUICKTIME_FOUND "YES") SET(QUICKTIME_FOUND "YES")
ENDIF() ENDIF()
IF(OSG_BUILD_PLATFORM_IPHONE OR OSG_BUILD_PLATFORM_IPHONE_SIMULATOR)
SET(QUICKTIME_FOUND "NO")
ENDIF()
IF(APPLE) IF(APPLE)
#Quicktime is not supported under 64bit OSX build so we need to detect it and disable it. #Quicktime is not supported under 64bit OSX build so we need to detect it and disable it.
#First check to see if we are running with a native 64-bit compiler (10.6 default) and implicit arch #First check to see if we are running with a native 64-bit compiler (10.6 default) and implicit arch