aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlink2xt <link2xt@testrun.org>2021-08-01 01:55:46 +0300
committerlink2xt <link2xt@testrun.org>2021-08-01 01:55:46 +0300
commit950f4f22c01ab75f613479ef831bdf38f395d1dd (patch)
treed167b4835a809049f8c7f0a150124b7e27c5847c
parent8082ba47442181eb9c6cf2574643d54f89f55b3a (diff)
downloadkdeltachat-950f4f22c01ab75f613479ef831bdf38f395d1dd.tar.gz
kdeltachat-950f4f22c01ab75f613479ef831bdf38f395d1dd.zip
CMakeLists.txt: remove REQUIRED from ecm_find_qmlmodule
-rw-r--r--CMakeLists.txt8
1 files changed, 6 insertions, 2 deletions
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
#