diff --git a/cmake/Modules/FindBotan.cmake b/cmake/Modules/FindBotan.cmake index abdfe2b38f..e6f22479d2 100644 --- a/cmake/Modules/FindBotan.cmake +++ b/cmake/Modules/FindBotan.cmake @@ -104,7 +104,7 @@ find_path(BOTAN_INCLUDE_DIR # find the library if(MSVC) find_library(BOTAN_LIBRARY - NAMES botan + NAMES ${_names} HINTS ${_hints_lib} ${_no_def_path}