Always build in Release configuration.
This commit is contained in:
parent
79744c42cd
commit
c516149d9c
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user