summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorClinton Stimpson <clinton@elemtech.com>2009-01-23 21:52:15 (GMT)
committerClinton Stimpson <clinton@elemtech.com>2009-01-23 21:52:15 (GMT)
commitb2d52b07adf0a977eefbc3b08a24558a8d962802 (patch)
tree0a8d99e033f399805865e4f3f459e55ef17da11e /Modules
parentc58f2a583078397b21daa2a3d763c7820de46ad4 (diff)
downloadCMake-b2d52b07adf0a977eefbc3b08a24558a8d962802.zip
CMake-b2d52b07adf0a977eefbc3b08a24558a8d962802.tar.gz
CMake-b2d52b07adf0a977eefbc3b08a24558a8d962802.tar.bz2
ENH: Add convenience for identifying Cocoa based Qt.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindQt4.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/FindQt4.cmake b/Modules/FindQt4.cmake
index 9ee32cf..89e6026 100644
--- a/Modules/FindQt4.cmake
+++ b/Modules/FindQt4.cmake
@@ -591,6 +591,9 @@ IF (QT4_QMAKE_FOUND)
CHECK_SYMBOL_EXISTS(Q_WS_WIN "QtCore/qglobal.h" Q_WS_WIN)
CHECK_SYMBOL_EXISTS(Q_WS_QWS "QtCore/qglobal.h" Q_WS_QWS)
CHECK_SYMBOL_EXISTS(Q_WS_MAC "QtCore/qglobal.h" Q_WS_MAC)
+ IF(Q_WS_MAC)
+ CHECK_SYMBOL_EXISTS(QT_MAC_USE_COCOA "QtCore/qconfig.h" QT_MAC_USE_COCOA)
+ ENDIF(Q_WS_MAC)
IF (QT_QTCOPY_REQUIRED)
CHECK_SYMBOL_EXISTS(QT_IS_QTCOPY "QtCore/qglobal.h" QT_KDE_QT_COPY)