Find botan also looks in /usr/local now. Works for manual build under FreeBSD 11

This commit is contained in:
Eelke Klein 2017-09-01 09:50:08 +02:00
parent fbead4d782
commit 067fd7d7a2

View file

@ -25,12 +25,15 @@ FIND_PATH(BOTAN_INCLUDE_DIR botan/botan.h
HINTS
${PC_BOTAN_INCLUDEDIR}
${PC_BOTAN_INCLUDE_DIRS}
/usr/local/include/botan-2
)
FIND_LIBRARY(BOTAN_LIBRARY NAMES ${PC_BOTAN_LIBRARIES}
FIND_LIBRARY(BOTAN_LIBRARY botan-2
NAMES ${PC_BOTAN_LIBRARIES}
HINTS
${PC_BOTAN_LIBDIR}
${PC_BOTAN_LIBRARY_DIRS}
/usr/local/lib
)
MARK_AS_ADVANCED(BOTAN_INCLUDE_DIR BOTAN_LIBRARY)