commit: 6e09aa737c31b0ad1c97015713e6b24315d58501
Author: Alexander Tsoy <alexander <AT> tsoy <DOT> me>
AuthorDate: Sat Nov 2 11:52:49 2019 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Nov 2 11:52:49 2019 +0000
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=6e09aa73
cmake-utils.eclass: Fix BUILD_SHARED_LIBS variable type
This fixes the following warning:
CMake Warning (dev) at gentoo_common_config.cmake:8 (SET):
implicitly converting 'BOOLEAN' to 'STRING' type.
Signed-off-by: Alexander Tsoy <alexander <AT> tsoy.me>
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
eclass/cmake-utils.eclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/eclass/cmake-utils.eclass b/eclass/cmake-utils.eclass
index 109b584afb..e7a48116da 100644
--- a/eclass/cmake-utils.eclass
+++ b/eclass/cmake-utils.eclass
@@ -649,7 +649,7 @@ cmake-utils_src_configure() {
if [[ ${EAPI} != [56] ]]; then
cat >> "${common_config}" <<- _EOF_ || die
SET (CMAKE_INSTALL_DOCDIR
"${EPREFIX}/usr/share/doc/${PF}" CACHE PATH "")
- SET (BUILD_SHARED_LIBS ON CACHE BOOLEAN "")
+ SET (BUILD_SHARED_LIBS ON CACHE BOOL "")
_EOF_
fi