If we have QtMultimedia with Qt4, add its libraries to the Qt libraries.
authorGuy Harris <guy@alum.mit.edu>
Wed, 14 Oct 2015 09:10:05 +0000 (02:10 -0700)
committerGuy Harris <guy@alum.mit.edu>
Wed, 14 Oct 2015 09:10:56 +0000 (09:10 +0000)
Change-Id: I41208287b87fba59d188e0db3bee36ee17cf3b18
Reviewed-on: https://code.wireshark.org/review/11006
Reviewed-by: Guy Harris <guy@alum.mit.edu>
CMakeLists.txt

index 3dea06c83f38f296f61c2e2362b75e55d7f0dfed..9f6297c4cceee163c24a02d5e3e4180bc7f25d51 100644 (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()