From: Alexander Tsoy Date: Sat, 2 Nov 2019 11:52:49 +0000 (+0100) Subject: cmake-utils.eclass: Fix BUILD_SHARED_LIBS variable type X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0b332dbd6e674d71bb188312d2513036bac7e335;p=gentoo.git 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 Signed-off-by: Andreas Sturmlechner --- diff --git a/eclass/cmake-utils.eclass b/eclass/cmake-utils.eclass index 109b584afb39..e7a48116da7d 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