summaryrefslogtreecommitdiffstats
path: root/Modules/FindQt4.cmake
diff options
context:
space:
mode:
authorKurtis Nusbaum <klnusbaum@gmail.com>2012-05-29 19:49:16 (GMT)
committerClinton Stimpson <clinton@elemtech.com>2012-05-29 20:56:07 (GMT)
commitad7c80cd9f5b50f39e32f1874a3c1ec4b2e82c44 (patch)
tree93afa921c1f12abaca5738433c3a443bfe9d31bf /Modules/FindQt4.cmake
parent711f3ccb0400ecede1d5ccc100f017bbb3475d31 (diff)
downloadCMake-ad7c80cd9f5b50f39e32f1874a3c1ec4b2e82c44.zip
CMake-ad7c80cd9f5b50f39e32f1874a3c1ec4b2e82c44.tar.gz
CMake-ad7c80cd9f5b50f39e32f1874a3c1ec4b2e82c44.tar.bz2
Added conditional for the phonon backend plugin.
If on APPLE, the phonon backend plugin is set to phonon_qt7. If on WIN32, the phonon backend plugin is set to phonon_ds9. I did not add any for generic UNIXes as they could have a whole host of things. A more comprehensive script would actually attempt to detect which phonon plugins were installed. However, this is a simple fix for now that will work for most people.
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 9b646b4..226a4b1 100644
--- a/Modules/FindQt4.cmake
+++ b/Modules/FindQt4.cmake
@@ -1059,7 +1059,11 @@ IF (QT_QMAKE_EXECUTABLE AND QTVERSION)
SET( QT_IMAGEFORMATS_PLUGINS qgif qjpeg qmng qico qsvg qtiff )
SET( QT_INPUTMETHODS_PLUGINS qimsw_multi )
SET( QT_MOUSEDRIVERS_PLUGINS qwstslibmousehandler )
- SET( QT_PHONON_BACKEND_PLUGINS phonon_qt7 )
+ IF(APPLE)
+ SET( QT_PHONON_BACKEND_PLUGINS phonon_qt7 )
+ ELSEIF(WIN32)
+ SET( QT_PHONON_BACKEND_PLUGINS phonon_ds9 )
+ ENDIF()
SET( QT_SCRIPT_PLUGINS qtscriptdbus )
SET( QT_SQLDRIVERS_PLUGINS qsqldb2 qsqlibase qsqlite qsqlite2 qsqlmysql qsqloci qsqlodbc qsqlpsql qsqltds )