--- cmake/PocoMacros.cmake
+++ cmake/PocoMacros.cmake
@@ -278,7 +278,7 @@
 
 if (MSVC)
 # install the targets pdb
-  POCO_INSTALL_PDB(${target_name})
+  # POCO_INSTALL_PDB(${target_name})
 endif()
 
 endmacro()
--- CMakeLists.txt
+++ CMakeLists.txt
@@ -211,7 +211,7 @@
 
 find_package(OpenSSL)
 if(OPENSSL_FOUND)
-    include_directories("${OPENSSL_INCLUDE_DIR}")
+    include_directories("${OpenSSL_INCLUDE_DIR}")
     if(EXISTS ${PROJECT_SOURCE_DIR}/NetSSL_OpenSSL AND ENABLE_NETSSL)
     add_subdirectory(NetSSL_OpenSSL)
     list(APPEND Poco_COMPONENTS "NetSSL_OpenSSL")
--- Crypto/CMakeLists.txt
+++ Crypto/CMakeLists.txt
@@ -24,7 +24,7 @@
     DEFINE_SYMBOL Crypto_EXPORTS
     )
 
-target_link_libraries( "${LIBNAME}" Foundation ${OPENSSL_LIBRARIES} )
+target_link_libraries( "${LIBNAME}" Foundation OpenSSL::OpenSSL )
 target_include_directories( "${LIBNAME}"
     PUBLIC
         $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
--- Data/SQLite/CMakeLists.txt
+++ Data/SQLite/CMakeLists.txt
@@ -16,9 +16,9 @@
 endif()
 
 if (POCO_UNBUNDLED)
-    find_package(SQLite3)
-    set(DATASQLITELIBS ${SQLITE3_LIBRARIES})
-    include_directories("${SQLITE3_INCLUDE_DIRS}")
+    find_package(SQLite3 REQUIRED)
+    set(DATASQLITELIBS SQLite::SQLite3)
+    #include_directories(${SQLite3_INCLUDE_DIRS})
 else()
     # sqlite3
     POCO_SOURCES( SQLITE_SRCS sqlite3
--- NetSSL_Win/CMakeLists.txt
+++ NetSSL_Win/CMakeLists.txt
@@ -24,7 +24,7 @@
     DEFINE_SYMBOL NetSSL_Win_EXPORTS
     )
 
-target_link_libraries( "${LIBNAME}" Net Util Foundation Crypt32.lib )
+target_link_libraries( "${LIBNAME}" Net Util Foundation Crypt32.lib ws2_32  )
 target_include_directories( "${LIBNAME}"
     PUBLIC
         $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
