From 9ede977a56017ee6d67f4f83601a89f495ab4d82 Mon Sep 17 00:00:00 2001
From: Maarten ter Huurne <maarten@treewalker.org>
Date: Sun, 11 Dec 2011 21:24:40 +0100
Subject: [PATCH] Added QuickTime framework as dependency for wxWidgets on OS
 X.

It seems that the required functions are in an already included framework
on x86_64, but on i386 we depend on QuickTime.
---
 CMakeLists.txt                      | 1 +
 Externals/wxWidgets3/CMakeLists.txt | 1 +
 2 files changed, 2 insertions(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 823bc6c618..a1a28c4109 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -127,6 +127,7 @@ if (APPLE)
 	find_library(CORESERV_LIBRARY CoreServices)
 	find_library(IOB_LIBRARY IOBluetooth)
 	find_library(IOK_LIBRARY IOKit)
+	find_library(QUICKTIME_LIBRARY QuickTime)
 	find_library(WEBKIT_LIBRARY WebKit)
 endif()
 
diff --git a/Externals/wxWidgets3/CMakeLists.txt b/Externals/wxWidgets3/CMakeLists.txt
index 3281e55955..29d349f179 100644
--- a/Externals/wxWidgets3/CMakeLists.txt
+++ b/Externals/wxWidgets3/CMakeLists.txt
@@ -1249,6 +1249,7 @@ set(LIBS
 	${COREFUND_LIBRARY}
 	${CORESERV_LIBRARY}
 	${IOK_LIBRARY}
+	${QUICKTIME_LIBRARY}
 	)
 
 include_directories(../libpng)