Always build in Release configuration.

This commit is contained in:
Vitaly Zaitsev 2023-04-19 16:53:19 +02:00
parent 79744c42cd
commit c516149d9c
No known key found for this signature in database
GPG Key ID: BF99FC6DD45AB90A

View File

@ -41,14 +41,16 @@ The %{name}-static package contains the static library for %{name}.
%build
%cmake -B build_static \
-DCMAKE_BUILD_TYPE=Release \
-DYAML_CPP_BUILD_TOOLS:BOOL=OFF \
-DYAML_CPP_FORMAT_SOURCE:BOOL=OFF \
-DYAML_BUILD_SHARED_LIBS:BOOL=OFF \
-DYAML_CPP_INSTALL:BOOL=ON \
-DYAML_BUILD_SHARED_LIBS:BOOL=OFF \
-DYAML_CPP_BUILD_TESTS:BOOL=OFF
%make_build -C build_static
%cmake -B build_shared \
-DCMAKE_BUILD_TYPE=Release \
-DYAML_CPP_BUILD_TOOLS:BOOL=OFF \
-DYAML_CPP_FORMAT_SOURCE:BOOL=OFF \
-DYAML_CPP_INSTALL:BOOL=ON \