1 |
Bug: https://bugs.gentoo.org/735820 |
2 |
Signed-off-by: Andreas Sturmlechner <asturm@g.o> |
3 |
--- |
4 |
eclass/cmake.eclass | 5 +++++ |
5 |
1 file changed, 5 insertions(+) |
6 |
|
7 |
diff --git a/eclass/cmake.eclass b/eclass/cmake.eclass |
8 |
index 7a8059ba071..4203b9364cc 100644 |
9 |
--- a/eclass/cmake.eclass |
10 |
+++ b/eclass/cmake.eclass |
11 |
@@ -535,6 +535,11 @@ cmake_src_configure() { |
12 |
echo 'set(CMAKE_COLOR_MAKEFILE OFF CACHE BOOL "pretty colors during make" FORCE)' >> "${common_config}" || die |
13 |
fi |
14 |
|
15 |
+ # See bug 735820 |
16 |
+ if [[ ${EAPI} != 7 ]]; then |
17 |
+ echo 'set(CMAKE_INSTALL_ALWAYS 1)' >> "${common_config}" || die |
18 |
+ fi |
19 |
+ |
20 |
# Wipe the default optimization flags out of CMake |
21 |
if [[ ${CMAKE_BUILD_TYPE} != Gentoo ]]; then |
22 |
cat >> ${common_config} <<- _EOF_ || die |
23 |
-- |
24 |
2.33.0 |