summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-06-29 10:54:38 +0200
committerMichał Górny <mgorny@gentoo.org>2017-07-09 23:41:27 +0200
commit77365155eec5aa718f25f49c0875fcbd022f5793 (patch)
treed4883e0d18c43a65f35a22e1c3206fc145fbf078 /dev-cpp/gflags
parentdev-cpp/gflags: Set subslot to SONAME (diff)
downloadgentoo-77365155eec5aa718f25f49c0875fcbd022f5793.tar.gz
gentoo-77365155eec5aa718f25f49c0875fcbd022f5793.tar.bz2
gentoo-77365155eec5aa718f25f49c0875fcbd022f5793.zip
dev-cpp/gflags: Enable tests
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