vcpkg/ports/azure-core-amqp-cpp/00100-fix_dependency.patch
Azure SDK Bot 243b4c8604
[azure-*-cpp] Update to July Release for Core and Identity Packages (#32425)
* [azure-identity-cpp] Update to 1.5.1
## 1.5.1 (2023-07-06)

### Bugs Fixed

- [#4723]](https://github.com/Azure/azure-sdk-for-cpp/issues/4723) Accept a wider variety of token responses.

* [azure-core-cpp] Update to 1.10.1
## 1.10.1 (2023-07-06)

### Breaking Changes

- [[#4662]](https://github.com/Azure/azure-sdk-for-cpp/issues/4662) `Azure::Core::Operation<T>::GetRawResponseInternal()` is now deprecated and no longer requires an overload.

### Other Changes

- Empty diagnostic messages will no longer be generated.

* [azure-core-amqp-cpp] Update to 1.0.0-beta.1
## 1.0.0-beta.1 (2023-07-06)

### Features Added

- Initial release

* Dependency search fix

* Dependency link fix

* x-add-version

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-07-07 10:14:11 -07:00

44 lines
2.0 KiB
Diff

diff --git a/sdk/core/azure-core-amqp/CMakeLists.txt b/sdk/core/azure-core-amqp/CMakeLists.txt
index 4af39728..f888b1ba 100644
--- a/sdk/core/azure-core-amqp/CMakeLists.txt
+++ b/sdk/core/azure-core-amqp/CMakeLists.txt
@@ -31,7 +31,7 @@ if(NOT AZ_ALL_LIBRARIES)
endif()
find_package(uamqp CONFIG REQUIRED)
-find_package(umock_c)
+find_package(umock_c CONFIG REQUIRED)
find_package(azure_macro_utils_c CONFIG REQUIRED)
find_package(azure_c_shared_utility CONFIG REQUIRED)
@@ -101,8 +101,8 @@ add_library(Azure::azure-core-amqp ALIAS azure-core-amqp)
# coverage. Has no effect if BUILD_CODE_COVERAGE is OFF
create_code_coverage(core azure-core-amqp azure-core-amqp-tests "tests?/*;samples?/*")
-# uAMQP's headers require the manual addition of umock_c and azure_macro_utils_c to the target link libraries.
-target_link_libraries(azure-core-amqp PRIVATE uamqp umock_c azure_macro_utils_c PUBLIC Azure::azure-core)
+# uAMQP's headers require the manual addition of umock_c, azure_macro_utils_c, and aziotsharedutil to the target link libraries.
+target_link_libraries(azure-core-amqp PRIVATE uamqp umock_c azure_macro_utils_c aziotsharedutil PUBLIC Azure::azure-core)
get_az_version("${CMAKE_CURRENT_SOURCE_DIR}/src/private/package_version.hpp")
generate_documentation(azure-core-amqp ${AZ_LIBRARY_VERSION})
diff --git a/sdk/core/azure-core-amqp/vcpkg/Config.cmake.in b/sdk/core/azure-core-amqp/vcpkg/Config.cmake.in
index 989c8be1..176bc75f 100644
--- a/sdk/core/azure-core-amqp/vcpkg/Config.cmake.in
+++ b/sdk/core/azure-core-amqp/vcpkg/Config.cmake.in
@@ -4,9 +4,12 @@
@PACKAGE_INIT@
include(CMakeFindDependencyMacro)
-find_dependency(azure-core-cpp "1.9.0-beta.1")
+find_dependency(azure-core-cpp)
-find_dependency(azure-uamqp-c)
+find_dependency(uamqp)
+find_dependency(umock_c)
+find_dependency(azure_macro_utils_c)
+find_dependency(azure_c_shared_utility)
include("${CMAKE_CURRENT_LIST_DIR}/azure-core-amqp-cppTargets.cmake")