diff --git a/sdk/core/azure-core/CMakeLists.txt b/sdk/core/azure-core/CMakeLists.txt index fb8e95377..8ee63e9c0 100644 --- a/sdk/core/azure-core/CMakeLists.txt +++ b/sdk/core/azure-core/CMakeLists.txt @@ -148,6 +148,13 @@ if(BUILD_TRANSPORT_WINHTTP) target_link_libraries(azure-core PRIVATE winhttp) endif() +if (MSVC) + # Disable warnings: + # - C6285: ( || ) -> VBProject static analysis on Functional header: + # _Is_large, regression from VS version 19.28.29915.0 to 19.29.30037.0 + target_compile_options(azure-core PUBLIC /wd6285) +endif() + get_az_version("${CMAKE_CURRENT_SOURCE_DIR}/src/private/package_version.hpp") generate_documentation(azure-core ${AZ_LIBRARY_VERSION})