aboutsummaryrefslogtreecommitdiff
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-13 22:07:31 +0200
commit3bbd0d07bd0dbf98732f264838027e519f6a217a (patch)
treeb9ad02c1c5313ce0cb086c9f6b6d6f90c81f8700 /eclass
parentkde-frameworks/extra-cmake-modules: Add ECM_DISABLE_APPSTREAMTEST (diff)
downloadkde-3bbd0d07bd0dbf98732f264838027e519f6a217a.tar.gz
kde-3bbd0d07bd0dbf98732f264838027e519f6a217a.tar.bz2
kde-3bbd0d07bd0dbf98732f264838027e519f6a217a.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 9a0311eab2..4dfea4e34d 100644
--- a/eclass/cmake.eclass
+++ b/eclass/cmake.eclass
@@ -465,7 +465,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