From 5a249783c2fb046a50621fdcfda416e365b5b025 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 5 Sep 2023 12:15:19 +0200 Subject: explicit cmake options --- sexpp.spec | 8 ++++++++ 1 file changed, 8 insertions(+) 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 -- cgit