File tree Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ $(package)_patches = remove_libstd_link.patch
7
7
$(package)_patches += macos_mktemp_check.patch
8
8
$(package)_patches += builtin_sha1.patch
9
9
$(package)_patches += fix_have_windows.patch
10
+ $(package)_patches += cmake_minimum.patch
10
11
11
12
define $(package)_set_vars
12
13
$(package ) _config_opts = --without-docs --disable-shared --disable-valgrind
@@ -20,7 +21,8 @@ define $(package)_preprocess_cmds
20
21
patch -p1 < $($(package ) _patch_dir) /remove_libstd_link.patch && \
21
22
patch -p1 < $($(package ) _patch_dir) /macos_mktemp_check.patch && \
22
23
patch -p1 < $($(package ) _patch_dir) /builtin_sha1.patch && \
23
- patch -p1 < $($(package ) _patch_dir) /fix_have_windows.patch
24
+ patch -p1 < $($(package ) _patch_dir) /fix_have_windows.patch && \
25
+ patch -p1 < $($(package ) _patch_dir) /cmake_minimum.patch
24
26
endef
25
27
26
28
define $(package)_config_cmds
Original file line number Diff line number Diff line change
1
+ Set a more sane cmake_minimum_required.
2
+
3
+ --- a/CMakeLists.txt
4
+ +++ b/CMakeLists.txt
5
+ @@ -1,12 +1,7 @@
6
+ # CMake build script for ZeroMQ
7
+ + cmake_minimum_required(VERSION 3.16)
8
+ project(ZeroMQ)
9
+
10
+ - if(${CMAKE_SYSTEM_NAME} STREQUAL Darwin)
11
+ - cmake_minimum_required(VERSION 3.0.2)
12
+ - else()
13
+ - cmake_minimum_required(VERSION 2.8.12)
14
+ - endif()
15
+ -
16
+ include(CheckIncludeFiles)
17
+ include(CheckCCompilerFlag)
18
+ include(CheckCXXCompilerFlag)
You can’t perform that action at this time.
0 commit comments