summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2014-06-08 12:59:50 +0200
committerFlorent Le Coz <louiz@louiz.org>2014-06-08 12:59:50 +0200
commit800d7df9aaff31b30f2762f5ae6d0dc0378ecef0 (patch)
tree3d1407067200d1511b3cbcd76d92894e3975db33 /cmake
parent3d9183557f3ad9b599c812c03a445453e7d4f703 (diff)
downloadbiboumi-800d7df9aaff31b30f2762f5ae6d0dc0378ecef0.tar.gz
biboumi-800d7df9aaff31b30f2762f5ae6d0dc0378ecef0.tar.bz2
biboumi-800d7df9aaff31b30f2762f5ae6d0dc0378ecef0.tar.xz
biboumi-800d7df9aaff31b30f2762f5ae6d0dc0378ecef0.zip
Properly search for libbotan even in a botan-1.11 subdirectory
Diffstat (limited to 'cmake')
-rw-r--r--cmake/Modules/FindBotan.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmake/Modules/FindBotan.cmake b/cmake/Modules/FindBotan.cmake
index f53680d..aa8f58c 100644
--- a/cmake/Modules/FindBotan.cmake
+++ b/cmake/Modules/FindBotan.cmake
@@ -16,9 +16,10 @@
# This file is in the public domain
find_path(BOTAN_INCLUDE_DIRS NAMES botan/botan.h
+ PATH_SUFFIXES botan-1.11
DOC "The botan include directory")
-find_library(BOTAN_LIBRARIES NAMES botan
+find_library(BOTAN_LIBRARIES NAMES botan botan-1.11
DOC "The botan library")
# Use some standard module to handle the QUIETLY and REQUIRED arguments, and