diff --git a/libxml2-config.cmake.cmake.in b/libxml2-config.cmake.cmake.in index aead949b..79e9ecc3 100644 --- a/libxml2-config.cmake.cmake.in +++ b/libxml2-config.cmake.cmake.in @@ -157,7 +157,7 @@ if(NOT LIBXML2_SHARED) endif() if(WIN32) - list(APPEND LIBXML2_LIBRARIES ws2_32) + list(APPEND LIBXML2_LIBRARIES ws2_32;Bcrypt) endif() endif() diff --git a/libxml2-config.cmake.in b/libxml2-config.cmake.in index 6799fd25..f35eb056 100644 --- a/libxml2-config.cmake.in +++ b/libxml2-config.cmake.in @@ -113,8 +113,8 @@ if(UNIX) endif() if(WIN32) - list(APPEND LIBXML2_LIBRARIES ws2_32) - list(APPEND LIBXML2_INTERFACE_LINK_LIBRARIES "\$") + list(APPEND LIBXML2_LIBRARIES ws2_32;Bcrypt) + list(APPEND LIBXML2_INTERFACE_LINK_LIBRARIES "\$;\$") endif() # whether libxml2 has dso support