summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Smith <matthew@gentoo.org>2022-04-03 11:29:06 +0100
committerMatthew Smith <matthew@gentoo.org>2022-04-03 11:44:41 +0100
commitf8438748836c1f37a0d053ed7d3a0e2430d9e7bc (patch)
tree1501e1d1edbb73542046329063e653c5c027b2b4 /dev-libs
parentdev-lua: Update links to repositories migrated to lunarmodules org (diff)
downloadgentoo-f8438748836c1f37a0d053ed7d3a0e2430d9e7bc.tar.gz
gentoo-f8438748836c1f37a0d053ed7d3a0e2430d9e7bc.tar.bz2
gentoo-f8438748836c1f37a0d053ed7d3a0e2430d9e7bc.zip
dev-libs/cereal: conditionally skip tests
Closes: https://bugs.gentoo.org/836688 Signed-off-by: Matthew Smith <matthew@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/cereal/cereal-1.3.2-r2.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/dev-libs/cereal/cereal-1.3.2-r2.ebuild b/dev-libs/cereal/cereal-1.3.2-r2.ebuild
index 6082cdb4afaa..da3bf9c69469 100644
--- a/dev-libs/cereal/cereal-1.3.2-r2.ebuild
+++ b/dev-libs/cereal/cereal-1.3.2-r2.ebuild
@@ -42,10 +42,10 @@ src_configure() {
-DSKIP_PERFORMANCE_COMPARISON=ON
-DWITH_WERROR=OFF
-
- # TODO: Enable if multilib?
- -DSKIP_PORTABILITY_TEST=ON
)
+ # TODO: Enable if multilib?
+ use test && mycmakeargs+=( -DSKIP_PORTABILITY_TEST=ON )
+
cmake_src_configure
}