diff --git a/sdk/storage/azure-storage-blobs/CMakeLists.txt b/sdk/storage/azure-storage-blobs/CMakeLists.txt index 3813f7033..209d58250 100644 --- a/sdk/storage/azure-storage-blobs/CMakeLists.txt +++ b/sdk/storage/azure-storage-blobs/CMakeLists.txt @@ -1,6 +1,10 @@ # Copyright (c) Microsoft Corporation. All rights reserved. # SPDX-License-Identifier: MIT +list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../../../cmake-modules") +include(AzureVcpkg) +az_vcpkg_integrate() + cmake_minimum_required (VERSION 3.13) project(azure-storage-blobs LANGUAGES CXX) @@ -9,9 +13,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED True) set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON) option(FETCH_SOURCE_DEPS "build source dependencies" OFF) -list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../../../cmake-modules") -include(AzureVcpkg) include(AzureVersion) include(AzureCodeCoverage) include(AzureTransportAdapters) @@ -20,8 +22,6 @@ include(AzureGlobalCompileOptions) include(AzureConfigRTTI) include(AzureBuildTargetForCI) -az_vcpkg_integrate() - if(FETCH_SOURCE_DEPS) set(AZ_ALL_LIBRARIES ON) include(FolderList) diff --git a/sdk/storage/azure-storage-common/CMakeLists.txt b/sdk/storage/azure-storage-common/CMakeLists.txt index 40b36839d..840b85af9 100644 --- a/sdk/storage/azure-storage-common/CMakeLists.txt +++ b/sdk/storage/azure-storage-common/CMakeLists.txt @@ -1,6 +1,10 @@ # Copyright (c) Microsoft Corporation. All rights reserved. # SPDX-License-Identifier: MIT +list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../../../cmake-modules") +include(AzureVcpkg) +az_vcpkg_integrate() + cmake_minimum_required (VERSION 3.13) project(azure-storage-common LANGUAGES CXX) @@ -9,9 +13,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED True) set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON) option(FETCH_SOURCE_DEPS "build source dependencies" OFF) -list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../../../cmake-modules") -include(AzureVcpkg) include(AzureVersion) include(AzureCodeCoverage) include(AzureTransportAdapters) @@ -20,8 +22,6 @@ include(AzureGlobalCompileOptions) include(AzureConfigRTTI) include(AzureBuildTargetForCI) -az_vcpkg_integrate() - if(FETCH_SOURCE_DEPS) set(AZ_ALL_LIBRARIES ON) include(FolderList) diff --git a/sdk/storage/azure-storage-files-datalake/CMakeLists.txt b/sdk/storage/azure-storage-files-datalake/CMakeLists.txt index 39c63a306..0152ddef4 100644 --- a/sdk/storage/azure-storage-files-datalake/CMakeLists.txt +++ b/sdk/storage/azure-storage-files-datalake/CMakeLists.txt @@ -1,6 +1,10 @@ # Copyright (c) Microsoft Corporation. All rights reserved. # SPDX-License-Identifier: MIT +list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../../../cmake-modules") +include(AzureVcpkg) +az_vcpkg_integrate() + cmake_minimum_required (VERSION 3.13) project(azure-storage-files-datalake LANGUAGES CXX) @@ -9,9 +13,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED True) set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON) option(FETCH_SOURCE_DEPS "build source dependencies" OFF) -list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../../../cmake-modules") -include(AzureVcpkg) include(AzureVersion) include(AzureCodeCoverage) include(AzureTransportAdapters) @@ -20,8 +22,6 @@ include(AzureGlobalCompileOptions) include(AzureConfigRTTI) include(AzureBuildTargetForCI) -az_vcpkg_integrate() - if(FETCH_SOURCE_DEPS) set(AZ_ALL_LIBRARIES ON) include(FolderList) diff --git a/sdk/storage/azure-storage-files-shares/CMakeLists.txt b/sdk/storage/azure-storage-files-shares/CMakeLists.txt index e268010b1..ceb7649e2 100644 --- a/sdk/storage/azure-storage-files-shares/CMakeLists.txt +++ b/sdk/storage/azure-storage-files-shares/CMakeLists.txt @@ -1,6 +1,10 @@ # Copyright (c) Microsoft Corporation. All rights reserved. # SPDX-License-Identifier: MIT +list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../../../cmake-modules") +include(AzureVcpkg) +az_vcpkg_integrate() + cmake_minimum_required (VERSION 3.13) project(azure-storage-files-shares LANGUAGES CXX) @@ -9,9 +13,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED True) set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON) option(FETCH_SOURCE_DEPS "build source dependencies" OFF) -list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../../../cmake-modules") -include(AzureVcpkg) include(AzureVersion) include(AzureCodeCoverage) include(AzureTransportAdapters) @@ -20,8 +22,6 @@ include(AzureGlobalCompileOptions) include(AzureConfigRTTI) include(AzureBuildTargetForCI) -az_vcpkg_integrate() - if(FETCH_SOURCE_DEPS) set(AZ_ALL_LIBRARIES ON) include(FolderList) diff --git a/sdk/storage/azure-storage-queues/CMakeLists.txt b/sdk/storage/azure-storage-queues/CMakeLists.txt index b4d779879..ab6b2f403 100644 --- a/sdk/storage/azure-storage-queues/CMakeLists.txt +++ b/sdk/storage/azure-storage-queues/CMakeLists.txt @@ -1,6 +1,10 @@ # Copyright (c) Microsoft Corporation. All rights reserved. # SPDX-License-Identifier: MIT +list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../../../cmake-modules") +include(AzureVcpkg) +az_vcpkg_integrate() + cmake_minimum_required (VERSION 3.13) project(azure-storage-queues LANGUAGES CXX) @@ -9,9 +13,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED True) set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON) option(FETCH_SOURCE_DEPS "build source dependencies" OFF) -list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../../../cmake-modules") -include(AzureVcpkg) include(AzureVersion) include(AzureCodeCoverage) include(AzureTransportAdapters) @@ -20,8 +22,6 @@ include(AzureGlobalCompileOptions) include(AzureConfigRTTI) include(AzureBuildTargetForCI) -az_vcpkg_integrate() - if(FETCH_SOURCE_DEPS) set(AZ_ALL_LIBRARIES ON) include(FolderList)