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 7a8059ba071..4203b9364cc 100644
--- a/eclass/cmake.eclass
+++ b/eclass/cmake.eclass
@@ -535,6 +535,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

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to