summaryrefslogtreecommitdiffstats
path: root/Modules/UseQt4.cmake
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2009-12-16 22:16:59 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2009-12-16 22:16:59 (GMT)
commiteb83c197896a44b2c4a5e950ef3d8b977fc35ce4 (patch)
treef47fad3fccab958afad1eff65837e2a1982775d4 /Modules/UseQt4.cmake
parent9add940eb6a23b32da6a86b857d05fed900fea74 (diff)
downloadCMake-eb83c197896a44b2c4a5e950ef3d8b977fc35ce4.zip
CMake-eb83c197896a44b2c4a5e950ef3d8b977fc35ce4.tar.gz
CMake-eb83c197896a44b2c4a5e950ef3d8b977fc35ce4.tar.bz2
-better support for Qt4 as frameworks
before this patch -F<framework> dir had to be added manually in some way when using Qt4 installed as framework and when using FindQt4.cmake directly, i.e. without UseQt4.cmake. With this patch the framework dir is automatically added to QT_INCLUDE_DIR when Qt is installed as a framework. Ok by Clinton, tested already in KDE by Mike Arthur. Alex
Diffstat (limited to 'Modules/UseQt4.cmake')
-rw-r--r--Modules/UseQt4.cmake3
1 files changed, 0 insertions, 3 deletions
diff --git a/Modules/UseQt4.cmake b/Modules/UseQt4.cmake
index 9192097..a18beaf 100644
--- a/Modules/UseQt4.cmake
+++ b/Modules/UseQt4.cmake
@@ -23,9 +23,6 @@ SET_PROPERTY(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS_RELWITHDEBINFO QT_NO_
SET_PROPERTY(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS_MINSIZEREL QT_NO_DEBUG)
INCLUDE_DIRECTORIES(${QT_INCLUDE_DIR})
-IF(Q_WS_MAC AND QT_USE_FRAMEWORKS)
- INCLUDE_DIRECTORIES(${QT_QTCORE_LIBRARY})
-ENDIF(Q_WS_MAC AND QT_USE_FRAMEWORKS)
SET(QT_LIBRARIES "")