summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2020-09-25 12:52:19 -0700
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2020-09-25 12:52:34 -0700
commit3af9eaa3be51d244ec6971321c3cf6e55682a58f (patch)
tree98e2cec385e0e0dbbffbdb76aa4aaa69d0f0e2cf /dev-cpp/abseil-cpp
parentnet-misc/nemesis: Revision bump for changed dependencies (diff)
downloadgentoo-3af9eaa3be51d244ec6971321c3cf6e55682a58f.tar.gz
gentoo-3af9eaa3be51d244ec6971321c3cf6e55682a58f.tar.bz2
gentoo-3af9eaa3be51d244ec6971321c3cf6e55682a58f.zip
dev-cpp/abseil-cpp: avoid cmake unused var warning
Closes: https://bugs.gentoo.org/744682 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'dev-cpp/abseil-cpp')
-rw-r--r--dev-cpp/abseil-cpp/abseil-cpp-20200923.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev-cpp/abseil-cpp/abseil-cpp-20200923.ebuild b/dev-cpp/abseil-cpp/abseil-cpp-20200923.ebuild
index 0daa9c46bf72..51528f25fffe 100644
--- a/dev-cpp/abseil-cpp/abseil-cpp-20200923.ebuild
+++ b/dev-cpp/abseil-cpp/abseil-cpp-20200923.ebuild
@@ -57,7 +57,7 @@ src_configure() {
-DABSL_ENABLE_INSTALL=TRUE
-DABSL_LOCAL_GOOGLETEST_DIR="${WORKDIR}/googletest-${GTEST_COMMIT}"
-DABSL_RUN_TESTS=$(usex test)
- -DBUILD_TESTING=$(usex test)
+ $(usex test -DBUILD_TESTING=ON '') #intentional usex
)
cmake_src_configure
}