mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-28 13:02:38 +02:00
depends: add zeromq cmake minimum patch
This commit is contained in:
parent
cbbc229adf
commit
a522ef1542
@ -7,6 +7,7 @@ $(package)_patches = remove_libstd_link.patch
|
|||||||
$(package)_patches += macos_mktemp_check.patch
|
$(package)_patches += macos_mktemp_check.patch
|
||||||
$(package)_patches += builtin_sha1.patch
|
$(package)_patches += builtin_sha1.patch
|
||||||
$(package)_patches += fix_have_windows.patch
|
$(package)_patches += fix_have_windows.patch
|
||||||
|
$(package)_patches += cmake_minimum.patch
|
||||||
|
|
||||||
define $(package)_set_vars
|
define $(package)_set_vars
|
||||||
$(package)_config_opts = --without-docs --disable-shared --disable-valgrind
|
$(package)_config_opts = --without-docs --disable-shared --disable-valgrind
|
||||||
@ -20,7 +21,8 @@ define $(package)_preprocess_cmds
|
|||||||
patch -p1 < $($(package)_patch_dir)/remove_libstd_link.patch && \
|
patch -p1 < $($(package)_patch_dir)/remove_libstd_link.patch && \
|
||||||
patch -p1 < $($(package)_patch_dir)/macos_mktemp_check.patch && \
|
patch -p1 < $($(package)_patch_dir)/macos_mktemp_check.patch && \
|
||||||
patch -p1 < $($(package)_patch_dir)/builtin_sha1.patch && \
|
patch -p1 < $($(package)_patch_dir)/builtin_sha1.patch && \
|
||||||
patch -p1 < $($(package)_patch_dir)/fix_have_windows.patch
|
patch -p1 < $($(package)_patch_dir)/fix_have_windows.patch && \
|
||||||
|
patch -p1 < $($(package)_patch_dir)/cmake_minimum.patch
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define $(package)_config_cmds
|
define $(package)_config_cmds
|
||||||
|
18
depends/patches/zeromq/cmake_minimum.patch
Normal file
18
depends/patches/zeromq/cmake_minimum.patch
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
Set a more sane cmake_minimum_required.
|
||||||
|
|
||||||
|
--- a/CMakeLists.txt
|
||||||
|
+++ b/CMakeLists.txt
|
||||||
|
@@ -1,12 +1,7 @@
|
||||||
|
# CMake build script for ZeroMQ
|
||||||
|
+cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(ZeroMQ)
|
||||||
|
|
||||||
|
-if(${CMAKE_SYSTEM_NAME} STREQUAL Darwin)
|
||||||
|
- cmake_minimum_required(VERSION 3.0.2)
|
||||||
|
-else()
|
||||||
|
- cmake_minimum_required(VERSION 2.8.12)
|
||||||
|
-endif()
|
||||||
|
-
|
||||||
|
include(CheckIncludeFiles)
|
||||||
|
include(CheckCCompilerFlag)
|
||||||
|
include(CheckCXXCompilerFlag)
|
Loading…
Reference in New Issue
Block a user