diff options
| author | Andreas Sturmlechner <asturm@gentoo.org> | 2020-08-30 20:05:31 +0200 |
|---|---|---|
| committer | Andreas Sturmlechner <asturm@gentoo.org> | 2020-08-30 20:10:12 +0200 |
| commit | 7f989409cf6d8916c7f521de8bba0ac03a86f92a (patch) | |
| tree | 5fd2aaaf0f80d923e5cce2ffbf70a0d5cbec73d1 | |
| parent | fe9b84e52d33c28ef09e6d8f74a868d581a8cc7f (diff) | |
| download | kde-7f989409cf6d8916c7f521de8bba0ac03a86f92a.tar.gz kde-7f989409cf6d8916c7f521de8bba0ac03a86f92a.tar.bz2 kde-7f989409cf6d8916c7f521de8bba0ac03a86f92a.zip | |
cmake.eclass: If inherited from ecm.eclass, set ECM_DISABLE_QMLPLUGINDUMP
Works with downstream patch added to kde-frameworks/extra-cmake-modules in
commit f5b2cf80ea9696a5efbc2064cd432670670af486
Bug: https://bugs.gentoo.org/640432
Bug: https://bugs.gentoo.org/683102
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
| -rw-r--r-- | eclass/cmake.eclass | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/eclass/cmake.eclass b/eclass/cmake.eclass index d9fb203edea..f04888f187f 100644 --- a/eclass/cmake.eclass +++ b/eclass/cmake.eclass @@ -489,6 +489,10 @@ cmake_src_configure() { SET (BUILD_SHARED_LIBS ON CACHE BOOL "") _EOF_ + if [[ -n ${_ECM_ECLASS} ]]; then + echo 'SET (ECM_DISABLE_QMLPLUGINDUMP ON CACHE BOOL "")' >> "${common_config}" || die + fi + # See bug 689410 if [[ "${ARCH}" == riscv ]]; then echo 'SET (CMAKE_FIND_LIBRARY_CUSTOM_LIB_SUFFIX '"${libdir#lib}"' CACHE STRING "library search suffix" FORCE)' >> "${common_config}" || die |
