summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Zander <t.zander@nokia.com>2010-03-16 13:28:26 (GMT)
committerThomas Zander <t.zander@nokia.com>2010-03-19 08:44:28 (GMT)
commita38bf46289d6dd5da6d252d23d4c99711243eeb0 (patch)
tree49551ec0009c684eca5364bbaa22f0a3a5b54fb9
parente41daa4edb0799866fc910de692fcecf8f75c7eb (diff)
downloadQt-a38bf46289d6dd5da6d252d23d4c99711243eeb0.zip
Qt-a38bf46289d6dd5da6d252d23d4c99711243eeb0.tar.gz
Qt-a38bf46289d6dd5da6d252d23d4c99711243eeb0.tar.bz2
Make multimedia only depend on opengl when the latter is build
Reviewed-By: axis
-rw-r--r--src/src.pro3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/src.pro b/src/src.pro
index 0033942..c2ed59d 100644
--- a/src/src.pro
+++ b/src/src.pro
@@ -109,7 +109,8 @@ src_declarative.target = sub-declarative
src_tools_idc.depends = src_corelib # target defined in tools.pro
src_tools_uic3.depends = src_qt3support src_xml # target defined in tools.pro
src_phonon.depends = src_gui
- src_multimedia.depends = src_gui src_opengl
+ src_multimedia.depends = src_gui
+ contains(QT_CONFIG, opengl):src_multimedia.depends += src_opengl
src_tools_activeqt.depends = src_tools_idc src_gui
src_declarative.depends = src_xml src_gui src_script src_network src_svg
src_plugins.depends = src_gui src_sql src_svg src_multimedia