summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2021-08-12 15:04:50 +0200
committerAlexis Ballier <aballier@gentoo.org>2021-08-12 15:34:37 +0200
commitf6f221a82783e09217ba068100a5db74886f152e (patch)
treef32eec905d5fc1b79e4b09c6d5353fbd3ffa0044 /dev-util
parentdev-util/ignition-cmake: bump to 2.8.0 (diff)
downloadgentoo-f6f221a82783e09217ba068100a5db74886f152e.tar.gz
gentoo-f6f221a82783e09217ba068100a5db74886f152e.tar.bz2
gentoo-f6f221a82783e09217ba068100a5db74886f152e.zip
dev-util/ignition-cmake: enable test
Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/ignition-cmake/ignition-cmake-2.8.0.ebuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/dev-util/ignition-cmake/ignition-cmake-2.8.0.ebuild b/dev-util/ignition-cmake/ignition-cmake-2.8.0.ebuild
index 924ae8c8bfca..f3236d220205 100644
--- a/dev-util/ignition-cmake/ignition-cmake-2.8.0.ebuild
+++ b/dev-util/ignition-cmake/ignition-cmake-2.8.0.ebuild
@@ -12,14 +12,15 @@ SRC_URI="https://osrf-distributions.s3.amazonaws.com/ign-cmake/releases/${PN}2-$
LICENSE="Apache-2.0"
SLOT="2"
KEYWORDS="~amd64"
-IUSE=""
+IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND=""
RDEPEND="${DEPEND}"
src_configure() {
local mycmakeargs=(
- "-DBUILD_TESTING=OFF"
+ "-DBUILD_TESTING=$(usex test)"
)
cmake-utils_src_configure
}