aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2015-10-14 02:10:05 -0700
committerGuy Harris <guy@alum.mit.edu>2015-10-14 09:10:56 +0000
commit9a702e41b052211424163829a2cb3487123b155e (patch)
tree5a7898ac6bbe0d36505bdfc29c7001ab34aed63e
parent4b73a2909397f30bf1494e05337b417f39efc13d (diff)
If we have QtMultimedia with Qt4, add its libraries to the Qt libraries.
Change-Id: I41208287b87fba59d188e0db3bee36ee17cf3b18 Reviewed-on: https://code.wireshark.org/review/11006 Reviewed-by: Guy Harris <guy@alum.mit.edu>
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3dea06c83f..9f6297c4cc 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -899,6 +899,8 @@ elseif(QT_FOUND)
if(QT_QTMULTIMEDIA_FOUND)
include_directories(${QT_QTMULTIMEDIA_INCLUDE_DIR})
message(STATUS "QtMultimedia includes: ${QT_INCLUDE_DIR}")
+ set (QT_LIBRARIES ${QT_LIBRARIES} ${QT_QTMULTIMEDIA_LIBRARY})
+ message(STATUS "QtMultimedia libs: ${QT_QTMULTIMEDIA_LIBRARY}")
# That's the name autofoo uses
set(QT_MULTIMEDIA_LIB 1)
endif()