Allow to build with CMake 4.0 (rhbz#2380816)

This commit is contained in:
Cristian Le 2025-11-11 14:37:44 +01:00
commit 7c6da62506

View file

@ -58,6 +58,8 @@ Requires: python3-numpy
%autosetup -p1
%build
# TODO: Please submit an issue to upstream (rhbz#2380816)
export CMAKE_POLICY_VERSION_MINIMUM=3.5
%cmake -DBUILD_TESTS=ON
%cmake_build