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>
This commit is contained in:
Guy Harris 2015-10-14 02:10:05 -07:00
parent 4b73a29093
commit 9a702e41b0
1 changed files with 2 additions and 0 deletions

View File

@ -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()