diff --git a/CMakeLists.txt b/CMakeLists.txt index 4b0ff70d..7b39f387 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -76,7 +76,11 @@ set(EIGEN_ROOT $ENV{EIGEN_DIR}) # Botan ------------------------------------------------------------------------- -find_library(BOTAN botan-1.11 $ENV{BOTAN_DIR}) +if(UNIX) + find_library(BOTAN botan-1.11 $ENV{BOTAN_DIR}) +else() + find_library(BOTAN botan $ENV{BOTAN_DIR}) +endif() # Lib --------------------------------------------------------------------------