diff options
author | llnulldisk <48621230+llnulldisk@users.noreply.github.com> | 2022-09-30 17:56:53 +0200 |
---|---|---|
committer | llnulldisk <48621230+llnulldisk@users.noreply.github.com> | 2022-09-30 17:56:53 +0200 |
commit | 42b32b990c81ba022c8065ed39d625b929da6020 (patch) | |
tree | 7e8400f36e1090ed2d2524b054c8c4b5ee2d7fcf /CMakeLists.txt | |
parent | 70b02c460b55f6a6722a852704ee7d916c48ed47 (diff) |
Downgrade dependencies to support Ubuntu 18.04
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index b2a2b09..b50b03a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.13.4) +cmake_minimum_required(VERSION 3.10.2) project(TgBot) # options @@ -51,7 +51,7 @@ find_package(OpenSSL REQUIRED) include_directories(${OPENSSL_INCLUDE_DIR}) ## curl -find_package(CURL 7.64.0) +find_package(CURL 7.58.0) if (CURL_FOUND) include_directories(${CURL_INCLUDE_DIRS}) add_definitions(-DHAVE_CURL) @@ -60,9 +60,9 @@ endif() ## boost set(Boost_USE_MULTITHREADED ON) if (ENABLE_TESTS) - find_package(Boost 1.67.0 COMPONENTS system unit_test_framework REQUIRED) + find_package(Boost 1.65.1 COMPONENTS system unit_test_framework REQUIRED) else() - find_package(Boost 1.67.0 COMPONENTS system REQUIRED) + find_package(Boost 1.65.1 COMPONENTS system REQUIRED) endif() include_directories(${Boost_INCLUDE_DIR}) link_directories(${Boost_LIBRARY_DIR_RELEASE}) |