summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2023-09-05 12:15:19 +0200
committerRemi Collet <remi@php.net>2023-09-05 12:15:19 +0200
commit5a249783c2fb046a50621fdcfda416e365b5b025 (patch)
tree6ac3181630986a84036c7bc8f53d3aa6bb4fcd7a
parentbff393b7c33c036a8724895589b1cfecd71ca84a (diff)
explicit cmake options
-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