[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [Phonon] 63c31e0: Add support for using frameworks on OSX.
From: Mike Arthur <mike () mikearthur ! co ! uk>
Date: 2010-03-18 11:39:03
Message-ID: 201003181139.o2IBd3I3024768 () kore ! kollide ! net
[Download RAW message or body]
commit 63c31e06517c0d58c9a7e33e8c16633e5fa224eb
Author: Mike Arthur <mike@mikearthur.co.uk>
Date: Thu Mar 18 11:44:13 2010 +0000
Add support for using frameworks on OSX.
The GCC visibility test fails due to missing framework flags on OSX.
This commit adds the necessary flags.
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ff89edb..ef7d6f5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -70,6 +70,10 @@ if (CMAKE_COMPILER_IS_GNUCXX)
add_definitions(-DQT_NO_DEBUG)
endif (MINGW)
+ if (QT_USE_FRAMEWORKS)
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -F${QT_LIBRARY_DIR}")
+ endif (QT_USE_FRAMEWORKS)
+
check_cxx_compiler_flag(-fPIE HAVE_FPIE_SUPPORT)
if(KDE4_ENABLE_FPIE)
if(HAVE_FPIE_SUPPORT)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic