From e7db06ad9db5a1a05b00fc835038d4366d637851 Mon Sep 17 00:00:00 2001 From: Jens Verwiebe Date: Sat, 6 Oct 2012 18:53:57 +0000 Subject: [PATCH] Force USE_QTKIT for osx 64bit --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 47a53d0edb1..1f0ef41fe59 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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()