8
0

Accepting request 1256201 from devel:libraries:c_c++

OBS-URL: https://build.opensuse.org/request/show/1256201
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/socket.io-client-cpp?expand=0&rev=2
This commit is contained in:
2025-03-26 20:22:36 +00:00
committed by Git OBS Bridge
2 changed files with 7 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Mar 22 14:58:02 UTC 2025 - Shawn Dunn <sfalken@opensuse.org>
- Add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to fix FTBFS with cmake4
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Feb 11 15:11:27 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de> Tue Feb 11 15:11:27 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>

View File

@@ -27,7 +27,7 @@ License: MIT
URL: https://github.com/socketio/socket.io-client-cpp 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 Source: https://github.com/socketio/%{name}/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: c++_compiler BuildRequires: c++_compiler
BuildRequires: cmake BuildRequires: cmake >= 3.5
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: cmake(RapidJSON) BuildRequires: cmake(RapidJSON)
BuildRequires: cmake(websocketpp) BuildRequires: cmake(websocketpp)
@@ -56,6 +56,7 @@ chmod -x README.md LICENSE
%build %build
%cmake \ %cmake \
-DCMAKE_BUILD_TYPE="Release" \ -DCMAKE_BUILD_TYPE="Release" \
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
%{nil} %{nil}
%cmake_build %cmake_build