diff --git a/socket.io-client-cpp.changes b/socket.io-client-cpp.changes index 2a52508..4f9a234 100644 --- a/socket.io-client-cpp.changes +++ b/socket.io-client-cpp.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Mar 22 14:58:02 UTC 2025 - Shawn Dunn + +- Add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to fix FTBFS with cmake4 + ------------------------------------------------------------------- Tue Feb 11 15:11:27 UTC 2025 - Andreas Stieger diff --git a/socket.io-client-cpp.spec b/socket.io-client-cpp.spec index 4320001..6ce1abe 100644 --- a/socket.io-client-cpp.spec +++ b/socket.io-client-cpp.spec @@ -27,7 +27,7 @@ License: MIT URL: https://github.com/socketio/socket.io-client-cpp Source: https://github.com/socketio/%{name}/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: c++_compiler -BuildRequires: cmake +BuildRequires: cmake >= 3.5 BuildRequires: pkgconfig BuildRequires: cmake(RapidJSON) BuildRequires: cmake(websocketpp) @@ -56,6 +56,7 @@ chmod -x README.md LICENSE %build %cmake \ -DCMAKE_BUILD_TYPE="Release" \ + -DCMAKE_POLICY_VERSION_MINIMUM=3.5 \ %{nil} %cmake_build