diff options
author | Dimitri Staessens <[email protected]> | 2023-08-07 09:52:22 +0200 |
---|---|---|
committer | Sander Vrijders <[email protected]> | 2023-08-23 13:09:10 +0200 |
commit | a7bbe9841bb1633fab84428252b16bf4d938932f (patch) | |
tree | 7796e11eda37880d851342f6f1fb7b9e200a8ee0 /CMakeLists.txt | |
parent | d99ab9755b08db8b6c021f8358dbb0b460ebd383 (diff) | |
download | ouroboros-a7bbe9841bb1633fab84428252b16bf4d938932f.tar.gz ouroboros-a7bbe9841bb1633fab84428252b16bf4d938932f.zip |
build: Link libcrypt and fix cmake compatibility
Compatibility with versions of CMake older than 3.5 is deprecated from
CMake 3.27 onwards, and will be removed from a future version. Calls
to cmake_minimum_required() or cmake_policy() that set the policy
version to an older value now issue a deprecation diagnostic.
Fixed by indicating a max tested value for cmake_minimum_required().
Changed linking with OpenSSL to link with libcrypto only, we don't
require libssl.
Signed-off-by: Dimitri Staessens <[email protected]>
Signed-off-by: Sander Vrijders <[email protected]>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 7c2fc4a0..04b52c23 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 2.8.12.2) +cmake_minimum_required(VERSION 2.8.12.2...3.27.1) cmake_policy(VERSION ${CMAKE_VERSION}) set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake") |