diff --git a/yaml-cpp.spec b/yaml-cpp.spec index a7da02b..90f6971 100644 --- a/yaml-cpp.spec +++ b/yaml-cpp.spec @@ -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 \