Skip to content

Commit 5917a72

Browse files
committed
Fix cmake package configuration script to correctly locate bundled OpenSSL libraries -- follow up fix for Windows
1 parent 382ca8e commit 5917a72

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mysql-concpp-config.cmake.in

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -593,8 +593,9 @@ function(find_deps)
593593
if(MYSQL_CONCPP_ROOT_DIR)
594594

595595
# Try to find the bundled OpenSSL
596+
# Note: On Windows we look for the import library with .lib extension.
596597

597-
set(CMAKE_FIND_LIBRARY_SUFFIXES ".so" ".dll" ".dylib")
598+
set(CMAKE_FIND_LIBRARY_SUFFIXES ".so" ".lib" ".dylib")
598599

599600
unset(ssl_lib CACHE)
600601
find_library(ssl_lib

0 commit comments

Comments
 (0)