1 |
This fixes the following warning: |
2 |
|
3 |
CMake Warning (dev) at gentoo_common_config.cmake:8 (SET): |
4 |
implicitly converting 'BOOLEAN' to 'STRING' type. |
5 |
|
6 |
Signed-off-by: Alexander Tsoy <alexander@××××.me> |
7 |
--- |
8 |
eclass/cmake-utils.eclass | 2 +- |
9 |
1 file changed, 1 insertion(+), 1 deletion(-) |
10 |
|
11 |
diff --git a/eclass/cmake-utils.eclass b/eclass/cmake-utils.eclass |
12 |
index 109b584afb3..e7a48116da7 100644 |
13 |
--- a/eclass/cmake-utils.eclass |
14 |
+++ b/eclass/cmake-utils.eclass |
15 |
@@ -649,7 +649,7 @@ cmake-utils_src_configure() { |
16 |
if [[ ${EAPI} != [56] ]]; then |
17 |
cat >> "${common_config}" <<- _EOF_ || die |
18 |
SET (CMAKE_INSTALL_DOCDIR "${EPREFIX}/usr/share/doc/${PF}" CACHE PATH "") |
19 |
- SET (BUILD_SHARED_LIBS ON CACHE BOOLEAN "") |
20 |
+ SET (BUILD_SHARED_LIBS ON CACHE BOOL "") |
21 |
_EOF_ |
22 |
fi |
23 |
|
24 |
-- |
25 |
2.23.0 |