summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2017-07-20 21:22:58 +0200
committerlouiz’ <louiz@louiz.org>2017-07-20 21:22:58 +0200
commitffb402f0adb9f808c7b8bc9616e71f7b3f8931ac (patch)
tree074862e68c2c0d055d87a1be99947171c839bae6 /cmake
parentf0f3d3d4e2fb7c02a5b2ad517632ec5071fefb45 (diff)
downloadbiboumi-ffb402f0adb9f808c7b8bc9616e71f7b3f8931ac.tar.gz
biboumi-ffb402f0adb9f808c7b8bc9616e71f7b3f8931ac.tar.bz2
biboumi-ffb402f0adb9f808c7b8bc9616e71f7b3f8931ac.tar.xz
biboumi-ffb402f0adb9f808c7b8bc9616e71f7b3f8931ac.zip
Drop support for botan < 2.0
fix #3274
Diffstat (limited to 'cmake')
-rw-r--r--cmake/Modules/FindBOTAN.cmake5
1 files changed, 2 insertions, 3 deletions
diff --git a/cmake/Modules/FindBOTAN.cmake b/cmake/Modules/FindBOTAN.cmake
index 9eb76c4..3f223e2 100644
--- a/cmake/Modules/FindBOTAN.cmake
+++ b/cmake/Modules/FindBOTAN.cmake
@@ -19,15 +19,14 @@ include(FindPkgConfig)
if(NOT BOTAN_FOUND)
pkg_check_modules(BOTAN botan-2)
- pkg_check_modules(BOTAN botan-1.11)
endif()
if(NOT BOTAN_FOUND)
find_path(BOTAN_INCLUDE_DIRS NAMES botan/botan.h
- PATH_SUFFIXES botan-2 botan-1.11
+ PATH_SUFFIXES botan-2
DOC "The botan include directory")
- find_library(BOTAN_LIBRARIES NAMES botan botan-2 botan-1.11
+ find_library(BOTAN_LIBRARIES NAMES botan botan-2
DOC "The botan library")
# Use some standard module to handle the QUIETLY and REQUIRED arguments, and