Force USE_QTKIT for osx 64bit
authorJens Verwiebe <info@jensverwiebe.de>
Sat, 6 Oct 2012 18:53:57 +0000 (18:53 +0000)
committerJens Verwiebe <info@jensverwiebe.de>
Sat, 6 Oct 2012 18:53:57 +0000 (18:53 +0000)
CMakeLists.txt

index 47a53d0edb12146ab4e7f35ce5420117e54717db..1f0ef41fe5978dad5d89a6ee754c029ac729288e 100644 (file)
@@ -319,6 +319,9 @@ if(APPLE)
        option(WITH_COCOA         "Use Cocoa framework instead of deprecated Carbon" ON)
        option(USE_QTKIT          "Use QtKit instead of Carbon quicktime (needed for having partial quicktime for 64bit)" OFF)
        option(WITH_LIBS10.5  "Use 10.5 libs (needed for 64bit builds)" OFF)
+       if(CMAKE_OSX_ARCHITECTURES MATCHES x86_64)
+               set(USE_QTKIT ON CACHE BOOL "ON" FORCE) # no Quicktime in 64bit
+       endif()
 endif()