[PATCH 3/4] cmake.eclass: Enable CMAKE_INSTALL_ALWAYS Bug: https://bugs.gentoo.org/735820 Signed-off-by: Andreas Sturmlechner <ast...@gentoo.org> --- eclass/cmake.eclass | 5 +++++ 1 file changed, 5 insertions(+)
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 -- 2.33.0
signature.asc
Description: This is a digitally signed message part.