summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sexpp.spec8
1 files changed, 8 insertions, 0 deletions
diff --git a/sexpp.spec b/sexpp.spec
index 80d9f1c..012c1c7 100644
--- a/sexpp.spec
+++ b/sexpp.spec
@@ -81,6 +81,14 @@ rm $LST
%build
%cmake . \
+%if %{with tests}
+ -DWITH_SEXP_TESTS:BOOL=ON \
+%else
+ -DWITH_SEXP_TESTS:BOOL=OFF \
+%endif
+ -DWITH_SEXP_CLI:BOOL=ON \
+ -DWITH_SANITIZERS:BOOL=OFF \
+ -DWITH_COVERAGE:BOOL=OFF \
-DBUILD_SHARED_LIBS:BOOL=ON \
-DDOWNLOAD_GTEST:BOOL=OFF