summaryrefslogtreecommitdiffstats
path: root/Modules/UseQt4.cmake
diff options
context:
space:
mode:
authorMike McQuaid <mike@mikemcquaid.com>2011-07-21 02:28:32 (GMT)
committerClinton Stimpson <clinton@elemtech.com>2011-10-03 17:01:39 (GMT)
commitcf4b52980db90600fb9bf77f826ae72b38f71967 (patch)
treec768200c664c0672e1834582528cf6c2ee1f84a6 /Modules/UseQt4.cmake
parent68e43c2fadbb6e396c0a609f6e3848689297d5fb (diff)
downloadCMake-cf4b52980db90600fb9bf77f826ae72b38f71967.zip
CMake-cf4b52980db90600fb9bf77f826ae72b38f71967.tar.gz
CMake-cf4b52980db90600fb9bf77f826ae72b38f71967.tar.bz2
Add QT_LIBRARIES_PLUGINS variable to UseQt4.
Diffstat (limited to 'Modules/UseQt4.cmake')
-rw-r--r--Modules/UseQt4.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/UseQt4.cmake b/Modules/UseQt4.cmake
index dbe28ac..b824392 100644
--- a/Modules/UseQt4.cmake
+++ b/Modules/UseQt4.cmake
@@ -28,6 +28,7 @@ ENDIF()
INCLUDE_DIRECTORIES(${QT_INCLUDE_DIR})
SET(QT_LIBRARIES "")
+SET(QT_LIBRARIES_PLUGINS "")
IF (QT_USE_QTMAIN)
IF (Q_WS_WIN)
@@ -91,6 +92,7 @@ FOREACH(module QT3SUPPORT QTOPENGL QTASSISTANT QTDESIGNER QTMOTIF QTNSPLUGIN
INCLUDE_DIRECTORIES(${QT_${module}_INCLUDE_DIR})
ENDIF(QT_USE_${module})
SET(QT_LIBRARIES ${QT_LIBRARIES} ${QT_${module}_LIBRARY})
+ SET(QT_LIBRARIES_PLUGINS ${QT_LIBRARIES_PLUGINS} ${QT_${module}_PLUGINS})
IF(QT_IS_STATIC)
SET(QT_LIBRARIES ${QT_LIBRARIES} ${QT_${module}_LIB_DEPENDENCIES})
ENDIF(QT_IS_STATIC)