build: fix botan find_lib for linux

add NO_DEFAULT_PATH to find_library so that the search exclude botan libs installed on the system
This commit is contained in:
Andreas Stallinger
2016-01-18 15:09:21 +01:00
parent 8bbd764cfc
commit f16e6b58c5
+1 -1
View File
@@ -77,7 +77,7 @@ set(EIGEN_ROOT $ENV{EIGEN_DIR})
# Botan -------------------------------------------------------------------------
if(UNIX)
find_library(BOTAN botan-1.11 $ENV{BOTAN_DIR})
find_library(BOTAN botan-1.11 $ENV{BOTAN_DIR} NO_DEFAULT_PATH)
else()
find_library(BOTAN botan $ENV{BOTAN_DIR})
endif()