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 3c611071821..8befd9e5a9f 100644 |
9 |
--- a/eclass/cmake.eclass |
10 |
+++ b/eclass/cmake.eclass |
11 |
@@ -537,6 +537,11 @@ cmake_src_configure() { |
12 |
echo 'set(CMAKE_COLOR_MAKEFILE OFF CACHE BOOL "pretty colors |
13 |
during make" FORCE)' >> "${common_config}" || die |
14 |
fi |
15 |
|
16 |
+ # See bug 735820 |
17 |
+ if [[ ${EAPI} != 7 ]]; then |
18 |
+ echo 'set(CMAKE_INSTALL_ALWAYS 1)' >> "${common_config}" || die |
19 |
+ fi |
20 |
+ |
21 |
# Wipe the default optimization flags out of CMake |
22 |
if [[ ${CMAKE_BUILD_TYPE} != Gentoo ]]; then |
23 |
cat >> ${common_config} <<- _EOF_ || die |
24 |
-- |
25 |
2.33.0 |