D6366: Fix configure with Qt5Multimedia disabled.
Michael Palimaka
noreply at phabricator.kde.org
Sat Jun 24 04:50:14 UTC 2017
palimaka created this revision.
Restricted Application added a project: Frameworks.
REVISION 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.
REPOSITORY
R286 KFileMetaData
BRANCH
master
REVISION DETAIL
https://phabricator.kde.org/D6366
AFFECTED FILES
CMakeLists.txt
To: palimaka, #frameworks
Cc: #frameworks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20170624/c11c6562/attachment.html>
More information about the Kde-frameworks-devel
mailing list