[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [Phonon] 9556b81: Add support for using frameworks on OSX.
From: Mike Arthur <mike () mikearthur ! co ! uk>
Date: 2010-07-20 19:36:04
Message-ID: 201007201936.o6KJa45K018350 () kore ! kollide ! net
[Download RAW message or body]
commit 9556b819b089da67290691f53ce7c1550ed23705
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 a162269..e2054d3 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