Skip to content

Commit

Permalink
cmake: drop support for Boost < 1.70.0
Browse files Browse the repository at this point in the history
It allows to move forward with CMake CMP0167 [1].

[1] https://cmake.org/cmake/help/latest/policy/CMP0167.html
  • Loading branch information
deniskovalchuk committed Nov 24, 2024
1 parent f1e26d8 commit cfb3cae
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ set(sources
add_library(ftp ${sources})
add_library(ftp::ftp ALIAS ftp)

find_package(Boost 1.67.0 REQUIRED)
find_package(Boost 1.70.0 REQUIRED)
target_link_libraries(ftp PUBLIC Boost::boost)

find_package(OpenSSL REQUIRED)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ target_link_libraries(application ftp::ftp)

- A C++17-compliant compiler
- CMake 3.14 or newer
- Boost 1.67.0 or newer
- Boost 1.70.0 or newer
- OpenSSL
- Python3 (only for tests)

Expand Down
2 changes: 1 addition & 1 deletion test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.14)
project(libftp-tests LANGUAGES CXX)

find_package(Boost 1.67.0 COMPONENTS filesystem REQUIRED)
find_package(Boost 1.70.0 COMPONENTS filesystem REQUIRED)

include(FetchContent)
FetchContent_Declare(
Expand Down

0 comments on commit cfb3cae

Please sign in to comment.