diff --git a/tiledb/CMakeLists.txt b/tiledb/CMakeLists.txt index fb51faeeeccd..2cb31e7d6412 100644 --- a/tiledb/CMakeLists.txt +++ b/tiledb/CMakeLists.txt @@ -570,8 +570,9 @@ if (TILEDB_AZURE) Azure::azure-storage-blobs Azure::azure-storage-common Azure::azure-core + OpenSSL::Crypto ) - install_all_target_libs("Azure::azure-identity;Azure::azure-storage-blobs;Azure::azure-storage-common;Azure::azure-core") + install_all_target_libs("Azure::azure-identity;Azure::azure-storage-blobs;Azure::azure-storage-common;Azure::azure-core;OpenSSL::Crypto") endif() if (TILEDB_GCS) @@ -725,7 +726,7 @@ if (WIN32) if (TILEDB_AZURE) # WebServices, winhttp and crypt32 needed by Azure storage on windows - target_link_libraries(TILEDB_CORE_OBJECTS_ILIB INTERFACE WebServices winhttp crypt32) + target_link_libraries(TILEDB_CORE_OBJECTS_ILIB INTERFACE WebServices winhttp crypt32 ws2_32) endif() endif() @@ -964,6 +965,7 @@ if (TILEDB_STATIC) append_dep_lib(fmt::fmt) append_dep_lib(spdlog::spdlog) + append_dep_lib(Azure::azure-identity) append_dep_lib(Azure::azure-storage-blobs) append_dep_lib(Azure::azure-storage-common) append_dep_lib(Azure::azure-core)