Declare runtime dependency on Qt5Multimedia via CMake
It's imports are needed for the effect video playback REVIEW: 114918
This commit is contained in:
parent
e3a83463a1
commit
95ac83921b
1 changed files with 7 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue