Skip to content

Commit

Permalink
cmake-utils.eclass: Fix BUILD_SHARED_LIBS variable type
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Andreas Sturmlechner <[email protected]>
  • Loading branch information
puleglot authored and a17r committed Nov 11, 2019
1 parent 6d6b164 commit 0b332db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eclass/cmake-utils.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 0b332db

Please sign in to comment.