From 800d7df9aaff31b30f2762f5ae6d0dc0378ecef0 Mon Sep 17 00:00:00 2001 From: Florent Le Coz Date: Sun, 8 Jun 2014 12:59:50 +0200 Subject: Properly search for libbotan even in a botan-1.11 subdirectory --- cmake/Modules/FindBotan.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cmake/Modules') 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 -- cgit v1.2.3