Set QT_MULTIMEDIA_LIB if we're using Qt 4 and have QtMultimedia.

Change-Id: Iee13fe86c0d8cacc71ab1cae25f4c735c5fe7b1d
Reviewed-on: https://code.wireshark.org/review/10993
Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
Guy Harris 2015-10-13 21:07:33 -07:00
parent 0596575a87
commit 66526f60c4
1 changed files with 4 additions and 0 deletions

View File

@ -896,6 +896,10 @@ elseif(QT_FOUND)
include_directories(${QT_INCLUDE_DIR})
message(STATUS "Qt includes: ${QT_INCLUDE_DIR}")
message(STATUS "Qt libs: ${QT_LIBRARIES}")
if(QT_QTMULTIMEDIA_FOUND)
# That's the name autofoo uses
set(QT_MULTIMEDIA_LIB 1)
endif()
endif()
message(STATUS "C-Flags: ${CMAKE_C_FLAGS}")