From 86459a89a10733bad549c34a4c4c0ca962397bc6 Mon Sep 17 00:00:00 2001 From: Clinton Stimpson Date: Thu, 1 Oct 2009 16:41:00 -0400 Subject: Add documentation for Cocoa flag and move Motif under X11 flag. --- Modules/FindQt4.cmake | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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) -- cgit v0.12