diff options
author | Alexander Tsoy <alexander@tsoy.me> | 2019-11-02 12:52:49 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2019-11-11 02:14:04 +0100 |
commit | 0b332dbd6e674d71bb188312d2513036bac7e335 (patch) | |
tree | f4879270285e4771ed57493f1a978349b53e1fef /eclass/cmake-utils.eclass | |
parent | kde5-functions.eclass: Must not be used directly by ebuild (diff) | |
download | gentoo-0b332dbd6e674d71bb188312d2513036bac7e335.tar.gz gentoo-0b332dbd6e674d71bb188312d2513036bac7e335.tar.bz2 gentoo-0b332dbd6e674d71bb188312d2513036bac7e335.zip |
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@tsoy.me>
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'eclass/cmake-utils.eclass')
-rw-r--r-- | eclass/cmake-utils.eclass | 2 |
1 files changed, 1 insertions, 1 deletions
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 |