vcpkg/ports/azure-storage-common-cpp/set_version.patch
Anton Kolesnyk e6943cc30e
[azure-*-cpp] Set version property for Azure SDK binaries (#41509)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-10-15 20:19:55 -07:00

13 lines
544 B
Diff

diff --git a/sdk/storage/azure-storage-common/CMakeLists.txt b/sdk/storage/azure-storage-common/CMakeLists.txt
index 30f056dca..76afb17a3 100644
--- a/sdk/storage/azure-storage-common/CMakeLists.txt
+++ b/sdk/storage/azure-storage-common/CMakeLists.txt
@@ -107,6 +107,7 @@ else()
endif()
get_az_version("${CMAKE_CURRENT_SOURCE_DIR}/src/private/package_version.hpp")
+set_target_properties(azure-storage-common PROPERTIES VERSION ${AZ_LIBRARY_VERSION})
generate_documentation(azure-storage-common ${AZ_LIBRARY_VERSION})
az_vcpkg_export(