From 7675ccca73f5c413e3505b0308c6f010d62d5302 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Fri, 7 May 2021 16:33:26 +0000 Subject: Adding metadata --- dev-cpp/abseil-cpp/abseil-cpp-20210324.1.ebuild | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'dev-cpp/abseil-cpp/abseil-cpp-20210324.1.ebuild') diff --git a/dev-cpp/abseil-cpp/abseil-cpp-20210324.1.ebuild b/dev-cpp/abseil-cpp/abseil-cpp-20210324.1.ebuild index 9966906aa154..7b370968e422 100644 --- a/dev-cpp/abseil-cpp/abseil-cpp-20210324.1.ebuild +++ b/dev-cpp/abseil-cpp/abseil-cpp-20210324.1.ebuild @@ -1,6 +1,5 @@ -# Copyright 2020-2021 Gentoo Authors +# Copyright 2021 Liguros Authors # Distributed under the terms of the GNU General Public License v2 - EAPI=7 PYTHON_COMPAT=( python3_{6,7,8,9,10} ) @@ -22,7 +21,7 @@ LICENSE=" " SLOT="0/${PV%%.*}" KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" -IUSE="test" +IUSE="+cxx17 test" DEPEND="" RDEPEND="${DEPEND}" @@ -70,7 +69,7 @@ src_configure() { local mycmakeargs=( -DABSL_ENABLE_INSTALL=TRUE -DABSL_LOCAL_GOOGLETEST_DIR="${WORKDIR}/googletest-${GTEST_COMMIT}" - -DCMAKE_CXX_STANDARD=17 + $(usex cxx17 -DCMAKE_CXX_STANDARD=17 '') # it has to be a useflag for some consumers $(usex test -DBUILD_TESTING=ON '') #intentional usex ) cmake_src_configure -- cgit v1.3