summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2024-08-13 22:06:40 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2024-08-15 19:46:49 +0200
commit43ecd506f0393ce2cc5e2bb0c19961923ee35a6f (patch)
tree4bddbdce74fea85f92b1d9d15a797ed8de2310d4 /eclass
parentkde-frameworks/extra-cmake-modules: More silence, less appstream test (diff)
downloadgentoo-43ecd506f0393ce2cc5e2bb0c19961923ee35a6f.tar.gz
gentoo-43ecd506f0393ce2cc5e2bb0c19961923ee35a6f.tar.bz2
gentoo-43ecd506f0393ce2cc5e2bb0c19961923ee35a6f.zip
cmake.eclass: If inherited from ecm.eclass, set ECM_DISABLE_APPSTREAMTEST
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/cmake.eclass5
1 files changed, 4 insertions, 1 deletions
diff --git a/eclass/cmake.eclass b/eclass/cmake.eclass
index c98608d7b5bb..8d60116f7a93 100644
--- a/eclass/cmake.eclass
+++ b/eclass/cmake.eclass
@@ -547,7 +547,10 @@ cmake_src_configure() {
_EOF_
if [[ -n ${_ECM_ECLASS} ]]; then
- echo 'set(ECM_DISABLE_QMLPLUGINDUMP ON CACHE BOOL "")' >> "${common_config}" || die
+ cat >> ${common_config} <<- _EOF_ || die
+ set(ECM_DISABLE_QMLPLUGINDUMP ON CACHE BOOL "")
+ set(ECM_DISABLE_APPSTREAMTEST ON CACHE BOOL "")
+ _EOF_
fi
# See bug 689410