Create cmake dir

This commit is contained in:
Sandro Mani 2021-09-14 07:37:05 +02:00
parent b8a28d859b
commit 352773be19

View File

@ -241,6 +241,9 @@ cd %{buildroot}%{_libdir}/pkgconfig
ln -s ../%{name}/lib/pkgconfig/*.pc .
cd -
# Create cmake dir
mkdir -p %{buildroot}%{_libdir}/%{name}/lib/cmake/
# Remove extraneous wrapper link libraries (bug 814798)
sed -i -e s/-ldl// -e s/-lhwloc// \
%{buildroot}%{_libdir}/%{name}/share/openmpi/*-wrapper-data.txt