summaryrefslogtreecommitdiffstats
path: root/Modules/FindQt4.cmake
diff options
context:
space:
mode:
authorClinton Stimpson <clinton@elemtech.com>2009-05-06 13:42:01 (GMT)
committerClinton Stimpson <clinton@elemtech.com>2009-05-06 13:42:01 (GMT)
commitf4f5da869c29fd9cfff58c9d9ccd9b740f42b329 (patch)
tree0584b49aa57d40af12d16c20c780fca425568323 /Modules/FindQt4.cmake
parentc2cb8a213cee719c95fcb6541189d1e339edf29c (diff)
downloadCMake-f4f5da869c29fd9cfff58c9d9ccd9b740f42b329.zip
CMake-f4f5da869c29fd9cfff58c9d9ccd9b740f42b329.tar.gz
CMake-f4f5da869c29fd9cfff58c9d9ccd9b740f42b329.tar.bz2
ENH: Add support for QtScriptTools in Qt 4.5.
Diffstat (limited to 'Modules/FindQt4.cmake')
-rw-r--r--Modules/FindQt4.cmake6
1 files changed, 5 insertions, 1 deletions
diff --git a/Modules/FindQt4.cmake b/Modules/FindQt4.cmake
index 2050dec..a806542 100644
--- a/Modules/FindQt4.cmake
+++ b/Modules/FindQt4.cmake
@@ -159,6 +159,7 @@
# QT_QTWEBKIT_FOUND True if QtWebKit was found.
# QT_QTXMLPATTERNS_FOUND True if QtXmlPatterns was found.
# QT_PHONON_FOUND True if phonon was found.
+# QT_QTSCRIPTTOOLS_FOUND True if QtScriptTools was found.
#
#
# QT_DEFINITIONS Definitions to use when compiling code that uses Qt.
@@ -202,6 +203,7 @@
# QT_QTWEBKIT_INCLUDE_DIR Path to "include/QtWebKit"
# QT_QTXMLPATTERNS_INCLUDE_DIR Path to "include/QtXmlPatterns"
# QT_PHONON_INCLUDE_DIR Path to "include/phonon"
+# QT_QTSCRIPTTOOLS_INCLUDE_DIR Path to "include/QtScriptTools"
#
# QT_BINARY_DIR Path to "bin" of Qt4
# QT_LIBRARY_DIR Path to "lib" of Qt4
@@ -241,6 +243,7 @@
# QT_QTWEBKIT_LIBRARY The QtWebKit library
# QT_QTXMLPATTERNS_LIBRARY The QtXmlPatterns library
# QT_PHONON_LIBRARY The phonon library
+# QT_QTSCRIPTTOOLS_LIBRARY The QtScriptTools library
#
# also defined, but NOT for general use are
# QT_MOC_EXECUTABLE Where to find the moc tool.
@@ -544,7 +547,7 @@ IF (QT4_QMAKE_FOUND)
SET(QT_MODULES QtCore QtGui Qt3Support QtSvg QtScript QtTest QtUiTools
QtHelp QtWebKit QtXmlPatterns phonon QtMotif QtNetwork
- QtNsPlugin QtOpenGL QtSql QtXml QtDesigner QtDBus)
+ QtNsPlugin QtOpenGL QtSql QtXml QtDesigner QtDBus QtScriptTools)
IF(QT_QMAKE_CHANGED)
FOREACH(QT_MODULE ${QT_MODULES})
@@ -832,6 +835,7 @@ IF (QT4_QMAKE_FOUND)
_QT4_ADJUST_LIB_VARS(PHONON)
_QT4_ADJUST_LIB_VARS(QTCLUCENE)
_QT4_ADJUST_LIB_VARS(QTMOTIF)
+ _QT4_ADJUST_LIB_VARS(QTSCRIPTTOOLS)
# platform dependent libraries
IF(WIN32)