mirror of
https://github.com/monero-project/monero.git
synced 2026-07-28 14:47:15 -07:00
cmake: set minimum boost version to 1.69
This commit is contained in:
+1
-6
@@ -924,7 +924,7 @@ if(STATIC)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Find Boost headers
|
# Find Boost headers
|
||||||
set(BOOST_MIN_VER 1.62)
|
set(BOOST_MIN_VER 1.69)
|
||||||
find_package(Boost ${BOOST_MIN_VER} QUIET REQUIRED CONFIG)
|
find_package(Boost ${BOOST_MIN_VER} QUIET REQUIRED CONFIG)
|
||||||
|
|
||||||
if(NOT Boost_FOUND)
|
if(NOT Boost_FOUND)
|
||||||
@@ -937,11 +937,6 @@ elseif(Boost_FOUND)
|
|||||||
list(APPEND BOOST_COMPONENTS locale)
|
list(APPEND BOOST_COMPONENTS locale)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Boost System is header-only since 1.69
|
|
||||||
if (Boost_VERSION_STRING VERSION_LESS 1.69.0)
|
|
||||||
list(APPEND BOOST_COMPONENTS system)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
# Boost Regex is header-only since 1.77
|
# Boost Regex is header-only since 1.77
|
||||||
if (Boost_VERSION_STRING VERSION_LESS 1.77.0)
|
if (Boost_VERSION_STRING VERSION_LESS 1.77.0)
|
||||||
list(APPEND BOOST_COMPONENTS regex)
|
list(APPEND BOOST_COMPONENTS regex)
|
||||||
|
|||||||
@@ -155,7 +155,7 @@ library archives (`.a`).
|
|||||||
| GCC | 7 | NO | `build-essential` | `base-devel` | `base-devel` | `gcc` | NO | |
|
| GCC | 7 | NO | `build-essential` | `base-devel` | `base-devel` | `gcc` | NO | |
|
||||||
| CMake | 3.10 | NO | `cmake` | `cmake` | `cmake` | `cmake` | NO | |
|
| CMake | 3.10 | NO | `cmake` | `cmake` | `cmake` | `cmake` | NO | |
|
||||||
| pkg-config | any | NO | `pkg-config` | `base-devel` | `base-devel` | `pkgconf` | NO | |
|
| pkg-config | any | NO | `pkg-config` | `base-devel` | `base-devel` | `pkgconf` | NO | |
|
||||||
| Boost | 1.66 | NO | `libboost-all-dev` | `boost` | `boost-devel` | `boost-devel` | NO | C++ libraries |
|
| Boost | 1.69 | NO | `libboost-all-dev` | `boost` | `boost-devel` | `boost-devel` | NO | C++ libraries |
|
||||||
| OpenSSL | 1.1.1 | NO | `libssl-dev` | `openssl` | `openssl-devel` | `openssl-devel` | NO | cryptography |
|
| OpenSSL | 1.1.1 | NO | `libssl-dev` | `openssl` | `openssl-devel` | `openssl-devel` | NO | cryptography |
|
||||||
| libzmq | 4.2.0 | NO | `libzmq3-dev` | `zeromq` | `zeromq-devel` | `zeromq-devel` | NO | ZeroMQ library |
|
| libzmq | 4.2.0 | NO | `libzmq3-dev` | `zeromq` | `zeromq-devel` | `zeromq-devel` | NO | ZeroMQ library |
|
||||||
| libunbound | 1.4.16 | NO | `libunbound-dev` | `unbound` | `unbound-devel` | `unbound-devel` | NO | DNS resolver |
|
| libunbound | 1.4.16 | NO | `libunbound-dev` | `unbound` | `unbound-devel` | `unbound-devel` | NO | DNS resolver |
|
||||||
|
|||||||
Reference in New Issue
Block a user