Skip to content

Commit

Permalink
Fix static linkage tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
teo-tsirpanis committed Oct 23, 2023
1 parent f3719e9 commit 91ae487
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tiledb/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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()

Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 91ae487

Please sign in to comment.