Find botan also looks in /usr/local now. Works for manual build under FreeBSD 11
This commit is contained in:
parent
fbead4d782
commit
067fd7d7a2
1 changed files with 4 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue