Adding missing lib for building tests with Ninja from command prompt (#1230)

fixes: #1228
This commit is contained in:
Victor Vazquez 2020-12-19 04:45:51 +00:00 committed by GitHub
parent bdc2931855
commit 606dd98ea2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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()