From c92a1a731f6dd8358218868206ab372a20475369a98ee85978aa00ff3be6b327 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 26 Mar 2025 12:27:31 +0000 Subject: [PATCH] - Add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to fix FTBFS with cmake4 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/socket.io-client-cpp?expand=0&rev=3 --- socket.io-client-cpp.changes | 5 +++++ socket.io-client-cpp.spec | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) 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