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
634 B
Diff

diff --git a/sdk/storage/azure-storage-queues/CMakeLists.txt b/sdk/storage/azure-storage-queues/CMakeLists.txt
index e567623d5..9ffc621ad 100644
--- a/sdk/storage/azure-storage-queues/CMakeLists.txt
+++ b/sdk/storage/azure-storage-queues/CMakeLists.txt
@@ -81,6 +81,7 @@ target_include_directories(
target_link_libraries(azure-storage-queues PUBLIC Azure::azure-storage-common)
get_az_version("${CMAKE_CURRENT_SOURCE_DIR}/src/private/package_version.hpp")
+set_target_properties(azure-storage-queues PROPERTIES VERSION ${AZ_LIBRARY_VERSION})
generate_documentation(azure-storage-queues ${AZ_LIBRARY_VERSION})
az_vcpkg_export(