summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-libs/libomemo/libomemo-0.8.1.ebuild7
1 files changed, 7 insertions, 0 deletions
diff --git a/net-libs/libomemo/libomemo-0.8.1.ebuild b/net-libs/libomemo/libomemo-0.8.1.ebuild
index ba4a9ee43a58..5871eea1c6cb 100644
--- a/net-libs/libomemo/libomemo-0.8.1.ebuild
+++ b/net-libs/libomemo/libomemo-0.8.1.ebuild
@@ -29,3 +29,10 @@ DEPEND="
RESTRICT="!test? ( test )"
DOCS=( CHANGELOG.md README.md )
+
+src_configure() {
+ local mycmakeargs=(
+ -DOMEMO_WITH_TESTS=$(usex test)
+ )
+ cmake_src_configure
+}