Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/kde:master commit in: eclass/
Date: Sun, 03 Nov 2019 18:35:14
Message-Id: 1572695569.6e09aa737c31b0ad1c97015713e6b24315d58501.asturm@gentoo
1 commit: 6e09aa737c31b0ad1c97015713e6b24315d58501
2 Author: Alexander Tsoy <alexander <AT> tsoy <DOT> me>
3 AuthorDate: Sat Nov 2 11:52:49 2019 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sat Nov 2 11:52:49 2019 +0000
6 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=6e09aa73
7
8 cmake-utils.eclass: Fix BUILD_SHARED_LIBS variable type
9
10 This fixes the following warning:
11
12 CMake Warning (dev) at gentoo_common_config.cmake:8 (SET):
13 implicitly converting 'BOOLEAN' to 'STRING' type.
14
15 Signed-off-by: Alexander Tsoy <alexander <AT> tsoy.me>
16 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
17
18 eclass/cmake-utils.eclass | 2 +-
19 1 file changed, 1 insertion(+), 1 deletion(-)
20
21 diff --git a/eclass/cmake-utils.eclass b/eclass/cmake-utils.eclass
22 index 109b584afb..e7a48116da 100644
23 --- a/eclass/cmake-utils.eclass
24 +++ b/eclass/cmake-utils.eclass
25 @@ -649,7 +649,7 @@ cmake-utils_src_configure() {
26 if [[ ${EAPI} != [56] ]]; then
27 cat >> "${common_config}" <<- _EOF_ || die
28 SET (CMAKE_INSTALL_DOCDIR "${EPREFIX}/usr/share/doc/${PF}" CACHE PATH "")
29 - SET (BUILD_SHARED_LIBS ON CACHE BOOLEAN "")
30 + SET (BUILD_SHARED_LIBS ON CACHE BOOL "")
31 _EOF_
32 fi