diff options
| author | Andreas Sturmlechner <asturm@gentoo.org> | 2021-08-16 21:31:36 +0200 |
|---|---|---|
| committer | Andreas Sturmlechner <asturm@gentoo.org> | 2021-08-21 15:10:11 +0200 |
| commit | c4a09deca98a78649976f966fd6e8489e041e64c (patch) | |
| tree | e7acb9e06447ba65112fe1b46fd796360053a53e /eclass/cmake.eclass | |
| parent | 40e9ac8f62c95c5d991148d8912422e8eaa8813d (diff) | |
| download | kde-c4a09deca98a78649976f966fd6e8489e041e64c.tar.gz kde-c4a09deca98a78649976f966fd6e8489e041e64c.tar.bz2 kde-c4a09deca98a78649976f966fd6e8489e041e64c.zip | |
cmake.eclass: Enable CMAKE_INSTALL_ALWAYS
Bug: https://bugs.gentoo.org/735820
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'eclass/cmake.eclass')
| -rw-r--r-- | eclass/cmake.eclass | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/eclass/cmake.eclass b/eclass/cmake.eclass index 3c611071821..8befd9e5a9f 100644 --- a/eclass/cmake.eclass +++ b/eclass/cmake.eclass @@ -537,6 +537,11 @@ cmake_src_configure() { echo 'set(CMAKE_COLOR_MAKEFILE OFF CACHE BOOL "pretty colors during make" FORCE)' >> "${common_config}" || die fi + # See bug 735820 + if [[ ${EAPI} != 7 ]]; then + echo 'set(CMAKE_INSTALL_ALWAYS 1)' >> "${common_config}" || die + fi + # Wipe the default optimization flags out of CMake if [[ ${CMAKE_BUILD_TYPE} != Gentoo ]]; then cat >> ${common_config} <<- _EOF_ || die |
