Declare runtime dependency on Qt5Multimedia via CMake

It's imports are needed for the effect video playback

REVIEW: 114918
This commit is contained in:
Hrvoje Senjan 2014-01-09 16:02:38 +01:00 committed by Martin Gräßlin
parent e3a83463a1
commit 95ac83921b

View file

@ -28,6 +28,13 @@ include(KDECompilerSettings)
find_package(Qt5Core REQUIRED NO_MODULE)
find_package(Qt5 REQUIRED NO_MODULE COMPONENTS DBus Quick Test Widgets)
# check for Qt5Multimedia (runtime-only dependency)
find_package(Qt5Multimedia)
set_package_properties(Qt5Multimedia PROPERTIES
PURPOSE "Runtime-only dependency for effect video playback"
TYPE RUNTIME
)
add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0 -std=c++0x)
if(KDE_PLATFORM_FEATURE_DISABLE_DEPRECATED)