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:
+1
-1
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user