From 950f4f22c01ab75f613479ef831bdf38f395d1dd Mon Sep 17 00:00:00 2001 From: link2xt Date: Sun, 1 Aug 2021 01:55:46 +0300 Subject: CMakeLists.txt: remove REQUIRED from ecm_find_qmlmodule --- CMakeLists.txt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index f0a84c4..6584945 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -25,9 +25,13 @@ find_package( REQUIRED) find_package(PkgConfig REQUIRED) +# Runtime QML dependencies. +# +# Not REQUIRED to avoid failing the build if `qmlplugindump` used by +# `ecm_find_qmlmodule` is not configured correctly. include(ECMQMLModules) -ecm_find_qmlmodule(QtMultimedia 5.8 REQUIRED) -ecm_find_qmlmodule(org.kde.kirigami 2.12 REQUIRED) +ecm_find_qmlmodule(QtMultimedia 5.8) +ecm_find_qmlmodule(org.kde.kirigami 2.12) # Ahead-of-Time Compilation # -- cgit v1.2.3-70-g09d2