Fix configure with Qt5Multimedia disabled.

Authored by palimaka on Jun 24 2017, 4:42 AM.

Description

Fix configure with Qt5Multimedia disabled.

Summary:
When passed -DBUILD_TESTING=OFF -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Multimedia=ON,
CMake failed because find_package(Qt5 COMPONENTS MULTIMEDIA) was treated as
required due to the previous find_package(Qt5 REQUIRED COMPONENTS Xml) call.

Finding Qt5Multimedia directly via its own config file ensures that it really
is treated as optional.

Test Plan: Configures and builds both with and without Qt5Multimedia enabled.

Reviewers: Frameworks, mgallien

Reviewed By: mgallien

Subscribers: mgallien, Frameworks

Tags: Frameworks

Differential Revision: https://phabricator.kde.org/D6366

Details

Committed
palimakaJun 24 2017, 3:58 PM
Reviewer
mgallien
Differential Revision
D6366: Fix configure with Qt5Multimedia disabled.
Parents
R286:980d4edf2b52: add an extractor using qtmultimedia
Branches
Unknown
Tags
Unknown