From 42b32b990c81ba022c8065ed39d625b929da6020 Mon Sep 17 00:00:00 2001 From: llnulldisk <48621230+llnulldisk@users.noreply.github.com> Date: Fri, 30 Sep 2022 17:56:53 +0200 Subject: Downgrade dependencies to support Ubuntu 18.04 --- CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'CMakeLists.txt') 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}) -- cgit v1.2.3