Fix cmake build

This commit is contained in:
Sérgio M. Basto 2022-03-18 20:01:26 +00:00 committed by churchyard
parent b2e3a87e7f
commit 75da5dabae
1 changed files with 5 additions and 1 deletions

View File

@ -35,14 +35,18 @@ developing applications that use %{name}.
%build
%cmake cpp
pushd cpp
%cmake
%cmake_build
popd
%install
pushd cpp
%cmake_install
find %{buildroot} -name '*.a' -delete
find %{buildroot} -name '*.la' -delete
popd
%files