summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-cpp/gflags')
-rw-r--r--dev-cpp/gflags/gflags-9999.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/dev-cpp/gflags/gflags-9999.ebuild b/dev-cpp/gflags/gflags-9999.ebuild
index 8a45409fc694..79f70a7aee48 100644
--- a/dev-cpp/gflags/gflags-9999.ebuild
+++ b/dev-cpp/gflags/gflags-9999.ebuild
@@ -18,7 +18,7 @@ HOMEPAGE="http://gflags.github.io/gflags/"
LICENSE="BSD"
SLOT="0/2.2"
-IUSE="static-libs"
+IUSE="static-libs test"
# AUTHORS.txt only links the google group
DOCS=( ChangeLog.txt README.md )
@@ -27,6 +27,7 @@ multilib_src_configure() {
local mycmakeargs=(
-DBUILD_SHARED_LIBS=ON
-DBUILD_STATIC_LIBS=$(usex static-libs)
+ -DBUILD_TESTING=$(usex test)
# avoid installing .cmake/packages, e.g.:
# >>> /tmp/portage/dev-cpp/gflags-9999/homedir/.cmake/packages/gflags/a7fca4708532331c2d656af0fdc8b8b9
-DREGISTER_INSTALL_PREFIX=OFF