public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/cxxopts] epel10.2: Added compatibility with CMake 4.
@ 2026-09-22  1:32 Vitaly
  0 siblings, 0 replies; only message in thread
From: Vitaly @ 2026-09-22  1:32 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/cxxopts
Branch : epel10.2
Commit : 851019ce474f7562d61ccd4fcd79bf3ad48565ea
Author : Vitaly <vitaly@easycoding.org>
Date   : 2025-03-12T10:09:13+01:00
Stats  : +46/-0 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/cxxopts/c/851019ce474f7562d61ccd4fcd79bf3ad48565ea?branch=epel10.2

Log:
Added compatibility with CMake 4.

---
diff --git a/cxxopts-3.2.1-cmake4-compatibility.patch b/cxxopts-3.2.1-cmake4-compatibility.patch
new file mode 100644
index 0000000..74508ef
--- /dev/null
+++ b/cxxopts-3.2.1-cmake4-compatibility.patch
@@ -0,0 +1,44 @@
+From 050ccd8badc6c706c4d20b3db48b319cc5bd9187 Mon Sep 17 00:00:00 2001
+From: Vitaly <vitaly@easycoding.org>
+Date: Wed, 12 Mar 2025 09:59:07 +0100
+Subject: [PATCH] Added compatibility with CMake 4.
+
+---
+ CMakeLists.txt                            | 2 +-
+ test/add-subdirectory-test/CMakeLists.txt | 2 +-
+ test/find-package-test/CMakeLists.txt     | 2 +-
+ 3 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index a6e4e86e..110d3dd7 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -17,7 +17,7 @@
+ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ # THE SOFTWARE.
+-cmake_minimum_required(VERSION 3.1...3.19)
++cmake_minimum_required(VERSION 3.5...3.19)
+ 
+ list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/")
+ include(cxxopts)
+diff --git a/test/add-subdirectory-test/CMakeLists.txt b/test/add-subdirectory-test/CMakeLists.txt
+index ec14d597..8bf81e3a 100644
+--- a/test/add-subdirectory-test/CMakeLists.txt
++++ b/test/add-subdirectory-test/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required(VERSION 3.1)
++cmake_minimum_required(VERSION 3.5...3.19)
+ 
+ project(cxxopts-test)
+ 
+diff --git a/test/find-package-test/CMakeLists.txt b/test/find-package-test/CMakeLists.txt
+index b88d7c9d..0bc60384 100644
+--- a/test/find-package-test/CMakeLists.txt
++++ b/test/find-package-test/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required(VERSION 3.1)
++cmake_minimum_required(VERSION 3.5...3.19)
+ 
+ project(cxxopts-test)
+ 

diff --git a/cxxopts.spec b/cxxopts.spec
index 29a12d8..2dec325 100644
--- a/cxxopts.spec
+++ b/cxxopts.spec
@@ -11,6 +11,8 @@ Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
 
 # https://github.com/jarro2783/cxxopts/commit/63d1b65a694cfceafc20863afa75df49dfbe6b2a
 Patch100: %{name}-3.2.1-add-missing-include.patch
+# https://github.com/jarro2783/cxxopts/pull/451
+Patch101: %{name}-3.2.1-cmake4-compatibility.patch
 
 BuildRequires: cmake
 BuildRequires: gcc-c++

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-22  1:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-22  1:32 [rpms/cxxopts] epel10.2: Added compatibility with CMake 4 Vitaly

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox