From 606dd98ea246cfd5631225463d94ac94b1e4c2e4 Mon Sep 17 00:00:00 2001 From: Victor Vazquez Date: Sat, 19 Dec 2020 04:45:51 +0000 Subject: [PATCH] Adding missing lib for building tests with Ninja from command prompt (#1230) fixes: #1228 --- sdk/storage/azure-storage-common/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/storage/azure-storage-common/CMakeLists.txt b/sdk/storage/azure-storage-common/CMakeLists.txt index 0b92416f2..35649d938 100644 --- a/sdk/storage/azure-storage-common/CMakeLists.txt +++ b/sdk/storage/azure-storage-common/CMakeLists.txt @@ -81,7 +81,7 @@ target_link_libraries(azure-storage-common PUBLIC Azure::azure-core) target_link_libraries(azure-storage-common INTERFACE Threads::Threads ${LIBXML2_LIBRARIES}) if(MSVC) - target_link_libraries(azure-storage-common PRIVATE bcrypt) + target_link_libraries(azure-storage-common PRIVATE bcrypt crypt32) # C28020 and C28204 are introduced by nlohmann/json target_compile_options(azure-storage-common PUBLIC /wd28204 /wd28020) else()