vcpkg/ports/azure-security-attestation-cpp/useragent.patch
Azure SDK Bot 652a35c70a
[azure-core-cpp] Update to 1.14.0 (#41321)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-10-04 11:43:39 -04:00

13 lines
678 B
Diff

diff --git a/sdk/attestation/azure-security-attestation/CMakeLists.txt b/sdk/attestation/azure-security-attestation/CMakeLists.txt
index 6993ce663..d57e7154d 100644
--- a/sdk/attestation/azure-security-attestation/CMakeLists.txt
+++ b/sdk/attestation/azure-security-attestation/CMakeLists.txt
@@ -76,6 +76,7 @@ target_include_directories(
)
target_link_libraries(azure-security-attestation PUBLIC Azure::azure-core OpenSSL::Crypto OpenSSL::SSL)
+target_compile_definitions(azure-security-attestation PRIVATE _azure_BUILDING_SDK)
# make sure that users can consume the project as a library.
add_library(Azure::azure-security-attestation ALIAS azure-security-attestation)