From ba54c292857e6956015caa8598351f774b042aa1 Mon Sep 17 00:00:00 2001 From: Anton Kolesnyk Date: Mon, 23 Aug 2021 10:20:57 -0700 Subject: [PATCH] Re-add vcpkg version constraints --- sdk/identity/azure-identity/vcpkg/vcpkg.json | 3 ++- sdk/keyvault/azure-security-keyvault-common/vcpkg/vcpkg.json | 3 ++- sdk/keyvault/azure-security-keyvault-keys/vcpkg/vcpkg.json | 3 ++- sdk/keyvault/azure-security-keyvault-secrets/vcpkg/vcpkg.json | 3 ++- sdk/storage/azure-storage-blobs/vcpkg/vcpkg.json | 3 ++- sdk/storage/azure-storage-common/vcpkg/vcpkg.json | 3 ++- sdk/storage/azure-storage-files-datalake/vcpkg/vcpkg.json | 3 ++- sdk/storage/azure-storage-files-shares/vcpkg/vcpkg.json | 3 ++- sdk/storage/azure-storage-queues/vcpkg/vcpkg.json | 3 ++- sdk/template/azure-template/CMakeLists.txt | 4 ++-- sdk/template/azure-template/vcpkg/Config.cmake.in | 2 +- sdk/template/azure-template/vcpkg/vcpkg.json | 3 ++- 12 files changed, 23 insertions(+), 13 deletions(-) diff --git a/sdk/identity/azure-identity/vcpkg/vcpkg.json b/sdk/identity/azure-identity/vcpkg/vcpkg.json index 30354a2b95..64ae0d800d 100644 --- a/sdk/identity/azure-identity/vcpkg/vcpkg.json +++ b/sdk/identity/azure-identity/vcpkg/vcpkg.json @@ -13,7 +13,8 @@ "dependencies": [ { "name": "azure-core-cpp", - "default-features": false + "default-features": false, + "version>=": "1.2.0" }, { "name": "vcpkg-cmake", diff --git a/sdk/keyvault/azure-security-keyvault-common/vcpkg/vcpkg.json b/sdk/keyvault/azure-security-keyvault-common/vcpkg/vcpkg.json index e15236361b..9a70f4f8fc 100644 --- a/sdk/keyvault/azure-security-keyvault-common/vcpkg/vcpkg.json +++ b/sdk/keyvault/azure-security-keyvault-common/vcpkg/vcpkg.json @@ -13,7 +13,8 @@ "dependencies": [ { "name": "azure-core-cpp", - "default-features": false + "default-features": false, + "version>=": "1.2.0" }, { "name": "vcpkg-cmake", diff --git a/sdk/keyvault/azure-security-keyvault-keys/vcpkg/vcpkg.json b/sdk/keyvault/azure-security-keyvault-keys/vcpkg/vcpkg.json index 0f426bfa7b..7a3b1483e7 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/vcpkg/vcpkg.json +++ b/sdk/keyvault/azure-security-keyvault-keys/vcpkg/vcpkg.json @@ -13,7 +13,8 @@ "dependencies": [ { "name": "azure-core-cpp", - "default-features": false + "default-features": false, + "version>=": "1.2.0" }, { "name": "vcpkg-cmake", diff --git a/sdk/keyvault/azure-security-keyvault-secrets/vcpkg/vcpkg.json b/sdk/keyvault/azure-security-keyvault-secrets/vcpkg/vcpkg.json index 0731e8159f..f77fa487e5 100644 --- a/sdk/keyvault/azure-security-keyvault-secrets/vcpkg/vcpkg.json +++ b/sdk/keyvault/azure-security-keyvault-secrets/vcpkg/vcpkg.json @@ -13,7 +13,8 @@ "dependencies": [ { "name": "azure-core-cpp", - "default-features": false + "default-features": false, + "version>=": "1.2.0" }, { "name": "vcpkg-cmake", diff --git a/sdk/storage/azure-storage-blobs/vcpkg/vcpkg.json b/sdk/storage/azure-storage-blobs/vcpkg/vcpkg.json index 6c02197da2..01b1acb8a0 100644 --- a/sdk/storage/azure-storage-blobs/vcpkg/vcpkg.json +++ b/sdk/storage/azure-storage-blobs/vcpkg/vcpkg.json @@ -13,7 +13,8 @@ "dependencies": [ { "name": "azure-storage-common-cpp", - "default-features": false + "default-features": false, + "version>=": "12.1.0" }, { "name": "vcpkg-cmake", diff --git a/sdk/storage/azure-storage-common/vcpkg/vcpkg.json b/sdk/storage/azure-storage-common/vcpkg/vcpkg.json index bbada0d55b..851f77d45d 100644 --- a/sdk/storage/azure-storage-common/vcpkg/vcpkg.json +++ b/sdk/storage/azure-storage-common/vcpkg/vcpkg.json @@ -13,7 +13,8 @@ "dependencies": [ { "name": "azure-core-cpp", - "default-features": false + "default-features": false, + "version>=": "1.0.0" }, "libxml2", { diff --git a/sdk/storage/azure-storage-files-datalake/vcpkg/vcpkg.json b/sdk/storage/azure-storage-files-datalake/vcpkg/vcpkg.json index 1712adb0ee..9246e4570d 100644 --- a/sdk/storage/azure-storage-files-datalake/vcpkg/vcpkg.json +++ b/sdk/storage/azure-storage-files-datalake/vcpkg/vcpkg.json @@ -13,7 +13,8 @@ "dependencies": [ { "name": "azure-storage-blobs-cpp", - "default-features": false + "default-features": false, + "version>=": "12.1.0" }, { "name": "vcpkg-cmake", diff --git a/sdk/storage/azure-storage-files-shares/vcpkg/vcpkg.json b/sdk/storage/azure-storage-files-shares/vcpkg/vcpkg.json index fe83d29264..6f0e1bf3c7 100644 --- a/sdk/storage/azure-storage-files-shares/vcpkg/vcpkg.json +++ b/sdk/storage/azure-storage-files-shares/vcpkg/vcpkg.json @@ -13,7 +13,8 @@ "dependencies": [ { "name": "azure-storage-common-cpp", - "default-features": false + "default-features": false, + "version>=": "12.1.0" }, { "name": "vcpkg-cmake", diff --git a/sdk/storage/azure-storage-queues/vcpkg/vcpkg.json b/sdk/storage/azure-storage-queues/vcpkg/vcpkg.json index a90388ca44..efcf138b34 100644 --- a/sdk/storage/azure-storage-queues/vcpkg/vcpkg.json +++ b/sdk/storage/azure-storage-queues/vcpkg/vcpkg.json @@ -13,7 +13,8 @@ "dependencies": [ { "name": "azure-storage-common-cpp", - "default-features": false + "default-features": false, + "version>=": "12.1.0" }, { "name": "vcpkg-cmake", diff --git a/sdk/template/azure-template/CMakeLists.txt b/sdk/template/azure-template/CMakeLists.txt index adf506a12b..8050640872 100644 --- a/sdk/template/azure-template/CMakeLists.txt +++ b/sdk/template/azure-template/CMakeLists.txt @@ -20,9 +20,9 @@ include(AzureGlobalCompileOptions) az_vcpkg_integrate() if(NOT AZ_ALL_LIBRARIES) - find_package(azure-core-cpp "1.0.0" CONFIG QUIET) + find_package(azure-core-cpp "1.2.0" CONFIG QUIET) if(NOT azure-core-cpp_FOUND) - find_package(azure-core-cpp "1.0.0" REQUIRED) + find_package(azure-core-cpp "1.2.0" REQUIRED) endif() endif() diff --git a/sdk/template/azure-template/vcpkg/Config.cmake.in b/sdk/template/azure-template/vcpkg/Config.cmake.in index 2be062bde9..0551b8926a 100644 --- a/sdk/template/azure-template/vcpkg/Config.cmake.in +++ b/sdk/template/azure-template/vcpkg/Config.cmake.in @@ -4,7 +4,7 @@ @PACKAGE_INIT@ include(CMakeFindDependencyMacro) -find_dependency(azure-core-cpp "1.0.0") +find_dependency(azure-core-cpp "1.2.0") include("${CMAKE_CURRENT_LIST_DIR}/azure-template-cppTargets.cmake") diff --git a/sdk/template/azure-template/vcpkg/vcpkg.json b/sdk/template/azure-template/vcpkg/vcpkg.json index dfb83a0e10..1c3a1583ce 100644 --- a/sdk/template/azure-template/vcpkg/vcpkg.json +++ b/sdk/template/azure-template/vcpkg/vcpkg.json @@ -14,7 +14,8 @@ "dependencies": [ { "name": "azure-core-cpp", - "default-features": false + "default-features": false, + "version>=": "1.2.0" }, { "name": "vcpkg-cmake",