summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorClinton Stimpson <clinton@elemtech.com>2009-10-01 20:41:00 (GMT)
committerClinton Stimpson <clinton@elemtech.com>2009-10-01 20:41:00 (GMT)
commit86459a89a10733bad549c34a4c4c0ca962397bc6 (patch)
treec5f4649e6f5aef01a24d49256ed18483439186a9 /Modules
parent023162256d4a3a0f18abd15a41a162cf08993f9a (diff)
downloadCMake-86459a89a10733bad549c34a4c4c0ca962397bc6.zip
CMake-86459a89a10733bad549c34a4c4c0ca962397bc6.tar.gz
CMake-86459a89a10733bad549c34a4c4c0ca962397bc6.tar.bz2
Add documentation for Cocoa flag and move Motif under X11 flag.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindQt4.cmake10
1 files changed, 9 insertions, 1 deletions
diff --git a/Modules/FindQt4.cmake b/Modules/FindQt4.cmake
index 8fb95ee..af8ec60 100644
--- a/Modules/FindQt4.cmake
+++ b/Modules/FindQt4.cmake
@@ -162,6 +162,9 @@
# QT_PHONON_FOUND True if phonon was found.
# QT_QTSCRIPTTOOLS_FOUND True if QtScriptTools was found.
#
+# QT_MAC_USE_COCOA For Mac OS X, its whether Cocoa or Carbon is used.
+# In general, this should not be used, but its useful
+# when having platform specific code.
#
# QT_DEFINITIONS Definitions to use when compiling code that uses Qt.
# You do not need to use this if you include QT_USE_FILE.
@@ -865,8 +868,13 @@ IF (QT4_QMAKE_FOUND)
_QT4_ADJUST_LIB_VARS(QTXMLPATTERNS)
_QT4_ADJUST_LIB_VARS(PHONON)
_QT4_ADJUST_LIB_VARS(QTCLUCENE)
- _QT4_ADJUST_LIB_VARS(QTMOTIF)
_QT4_ADJUST_LIB_VARS(QTSCRIPTTOOLS)
+
+
+ # platform dependent libraries
+ IF(Q_WS_X11)
+ _QT4_ADJUST_LIB_VARS(QTMOTIF)
+ ENDIF(Q_WS_X11)
# platform dependent libraries
IF(WIN32)