aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/azure-core-amqp-cpp/set_version.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/azure-core-amqp-cpp/set_version.patch')
-rw-r--r--vcpkg/ports/azure-core-amqp-cpp/set_version.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/vcpkg/ports/azure-core-amqp-cpp/set_version.patch b/vcpkg/ports/azure-core-amqp-cpp/set_version.patch
new file mode 100644
index 0000000..89e1791
--- /dev/null
+++ b/vcpkg/ports/azure-core-amqp-cpp/set_version.patch
@@ -0,0 +1,12 @@
+diff --git a/sdk/core/azure-core-amqp/CMakeLists.txt b/sdk/core/azure-core-amqp/CMakeLists.txt
+index 3ef7bf8d9..6d2829e84 100644
+--- a/sdk/core/azure-core-amqp/CMakeLists.txt
++++ b/sdk/core/azure-core-amqp/CMakeLists.txt
+@@ -177,6 +177,7 @@ target_link_libraries(azure-core-amqp PRIVATE
+ PUBLIC Azure::azure-core)
+
+ get_az_version("${CMAKE_CURRENT_SOURCE_DIR}/src/private/package_version.hpp")
++set_target_properties(azure-core-amqp PROPERTIES VERSION ${AZ_LIBRARY_VERSION})
+ generate_documentation(azure-core-amqp ${AZ_LIBRARY_VERSION})
+
+ az_vcpkg_export(