slsDetectorPackage/libs/libzmq/libzmq_cmake_version.patch
froejdh_e 95e11d668a
Some checks failed
Native CMake Build / Configure and build using cmake (push) Failing after 9s
switched patch tool
2025-03-28 18:26:45 +01:00

19 lines
468 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index dd3d8eb9..c0187747 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,11 +1,8 @@
# CMake build script for ZeroMQ
project(ZeroMQ)
-if(${CMAKE_SYSTEM_NAME} STREQUAL Darwin)
- cmake_minimum_required(VERSION 3.0.2)
-else()
- cmake_minimum_required(VERSION 2.8.12)
-endif()
+cmake_minimum_required(VERSION 3.15)
+message(STATUS "Patched cmake version")
include(CheckIncludeFiles)
include(CheckCCompilerFlag)