build: different find_library for windows and unix

This commit is contained in:
Andreas Stallinger
2016-01-18 12:40:08 +01:00
parent e1f29da76a
commit 8bbd764cfc
+5 -1
View File
@@ -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 --------------------------------------------------------------------------