Clean up version requirements (#4814)
* Clean up version requirements * Revert curl back to 7.44 * Update vcpkg.json --------- Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
This commit is contained in:
parent
7d52c01d18
commit
0a175f2c83
@ -4,7 +4,7 @@
|
||||
@PACKAGE_INIT@
|
||||
|
||||
include(CMakeFindDependencyMacro)
|
||||
find_dependency(azure-core-cpp "1.8.0")
|
||||
find_dependency(azure-core-cpp)
|
||||
find_dependency(OpenSSL)
|
||||
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/azure-security-attestation-cppTargets.cmake")
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
@PACKAGE_INIT@
|
||||
|
||||
include(CMakeFindDependencyMacro)
|
||||
find_dependency(azure-core-cpp "1.8.0")
|
||||
find_dependency(azure-core-cpp)
|
||||
find_dependency(Threads)
|
||||
|
||||
find_dependency(opentelemetry-cpp)
|
||||
|
||||
@ -26,12 +26,9 @@ include(CreateMapFile)
|
||||
find_package(Threads REQUIRED)
|
||||
|
||||
if(BUILD_TRANSPORT_CURL)
|
||||
# min version for `CURLSSLOPT_NO_REVOKE`
|
||||
# https://curl.haxx.se/libcurl/c/CURLOPT_SSL_OPTIONS.html
|
||||
set(CURL_MIN_REQUIRED_VERSION 7.44)
|
||||
find_package(CURL ${CURL_MIN_REQUIRED_VERSION} CONFIG QUIET)
|
||||
find_package(CURL CONFIG QUIET)
|
||||
if(NOT CURL_FOUND)
|
||||
find_package(CURL ${CURL_MIN_REQUIRED_VERSION} REQUIRED)
|
||||
find_package(CURL REQUIRED)
|
||||
endif()
|
||||
message("Libcurl version ${CURL_VERSION_STRING}")
|
||||
endif()
|
||||
|
||||
@ -35,7 +35,8 @@
|
||||
"default-features": false,
|
||||
"features": [
|
||||
"ssl"
|
||||
]
|
||||
],
|
||||
"version>=": "7.44"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
@ -7,7 +7,7 @@ include(CMakeFindDependencyMacro)
|
||||
find_dependency(Threads)
|
||||
|
||||
if(@BUILD_TRANSPORT_CURL@)
|
||||
find_dependency(CURL @CURL_MIN_REQUIRED_VERSION@)
|
||||
find_dependency(CURL)
|
||||
endif()
|
||||
|
||||
if(@BUILD_TRANSPORT_WINHTTP@)
|
||||
|
||||
@ -40,7 +40,8 @@
|
||||
"default-features": false,
|
||||
"features": [
|
||||
"ssl"
|
||||
]
|
||||
],
|
||||
"version>=": "7.44"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
@PACKAGE_INIT@
|
||||
|
||||
include(CMakeFindDependencyMacro)
|
||||
find_dependency(azure-core-cpp "1.9.0")
|
||||
find_dependency(azure-core-cpp)
|
||||
|
||||
find_dependency(OpenSSL)
|
||||
|
||||
|
||||
@ -39,9 +39,9 @@ if(FETCH_SOURCE_DEPS)
|
||||
add_subdirectory(${oneFolder})
|
||||
endforeach()
|
||||
elseif(NOT AZ_ALL_LIBRARIES)
|
||||
find_package(azure-core-cpp "1.7.2" CONFIG QUIET)
|
||||
find_package(azure-core-cpp CONFIG QUIET)
|
||||
if(NOT azure-core-cpp_FOUND)
|
||||
find_package(azure-core-cpp "1.7.2" REQUIRED)
|
||||
find_package(azure-core-cpp REQUIRED)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
@PACKAGE_INIT@
|
||||
|
||||
include(CMakeFindDependencyMacro)
|
||||
find_dependency(azure-core-cpp "1.9.0")
|
||||
find_dependency(azure-core-cpp)
|
||||
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/azure-security-keyvault-administration-cppTargets.cmake")
|
||||
|
||||
|
||||
@ -40,9 +40,9 @@ if(FETCH_SOURCE_DEPS)
|
||||
add_subdirectory(${oneFolder} EXCLUDE_FROM_ALL)
|
||||
endforeach()
|
||||
elseif(NOT AZ_ALL_LIBRARIES)
|
||||
find_package(azure-core-cpp "1.5.0" CONFIG QUIET)
|
||||
find_package(azure-core-cpp CONFIG QUIET)
|
||||
if(NOT azure-core-cpp_FOUND)
|
||||
find_package(azure-core-cpp "1.5.0" REQUIRED)
|
||||
find_package(azure-core-cpp REQUIRED)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
@PACKAGE_INIT@
|
||||
|
||||
include(CMakeFindDependencyMacro)
|
||||
find_dependency(azure-core-cpp "1.9.0")
|
||||
find_dependency(azure-core-cpp)
|
||||
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/azure-security-keyvault-certificates-cppTargets.cmake")
|
||||
|
||||
|
||||
@ -39,9 +39,9 @@ if(FETCH_SOURCE_DEPS)
|
||||
add_subdirectory(${oneFolder} EXCLUDE_FROM_ALL)
|
||||
endforeach()
|
||||
elseif(NOT AZ_ALL_LIBRARIES)
|
||||
find_package(azure-core-cpp "1.5.0" CONFIG QUIET)
|
||||
find_package(azure-core-cpp CONFIG QUIET)
|
||||
if(NOT azure-core-cpp_FOUND)
|
||||
find_package(azure-core-cpp "1.5.0" REQUIRED)
|
||||
find_package(azure-core-cpp REQUIRED)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
@PACKAGE_INIT@
|
||||
|
||||
include(CMakeFindDependencyMacro)
|
||||
find_dependency(azure-core-cpp "1.9.0")
|
||||
find_dependency(azure-core-cpp)
|
||||
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/azure-security-keyvault-keys-cppTargets.cmake")
|
||||
|
||||
|
||||
@ -39,9 +39,9 @@ if(FETCH_SOURCE_DEPS)
|
||||
add_subdirectory(${oneFolder})
|
||||
endforeach()
|
||||
elseif(NOT AZ_ALL_LIBRARIES)
|
||||
find_package(azure-core-cpp "1.5.0" CONFIG QUIET)
|
||||
find_package(azure-core-cpp CONFIG QUIET)
|
||||
if(NOT azure-core-cpp_FOUND)
|
||||
find_package(azure-core-cpp "1.5.0" REQUIRED)
|
||||
find_package(azure-core-cpp REQUIRED)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
@PACKAGE_INIT@
|
||||
|
||||
include(CMakeFindDependencyMacro)
|
||||
find_dependency(azure-core-cpp "1.9.0")
|
||||
find_dependency(azure-core-cpp)
|
||||
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/azure-security-keyvault-secrets-cppTargets.cmake")
|
||||
|
||||
|
||||
@ -33,9 +33,9 @@ if(FETCH_SOURCE_DEPS)
|
||||
add_subdirectory(${oneFolder} EXCLUDE_FROM_ALL)
|
||||
endforeach()
|
||||
elseif(NOT AZ_ALL_LIBRARIES)
|
||||
find_package(azure-storage-common-cpp "12.3.1" CONFIG QUIET)
|
||||
find_package(azure-storage-common-cpp CONFIG QUIET)
|
||||
if(NOT azure-storage-common-cpp_FOUND)
|
||||
find_package(azure-storage-common-cpp "12.3.1" REQUIRED)
|
||||
find_package(azure-storage-common-cpp REQUIRED)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
@PACKAGE_INIT@
|
||||
|
||||
include(CMakeFindDependencyMacro)
|
||||
find_dependency(azure-storage-common-cpp "12.3.1")
|
||||
find_dependency(azure-storage-common-cpp)
|
||||
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/azure-storage-blobs-cppTargets.cmake")
|
||||
|
||||
|
||||
@ -33,9 +33,9 @@ if(FETCH_SOURCE_DEPS)
|
||||
add_subdirectory(${oneFolder} EXCLUDE_FROM_ALL)
|
||||
endforeach()
|
||||
elseif(NOT AZ_ALL_LIBRARIES)
|
||||
find_package(azure-core-cpp "1.9.0" CONFIG QUIET)
|
||||
find_package(azure-core-cpp CONFIG QUIET)
|
||||
if(NOT azure-core-cpp_FOUND)
|
||||
find_package(azure-core-cpp "1.9.0" REQUIRED)
|
||||
find_package(azure-core-cpp REQUIRED)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
|
||||
include(CMakeFindDependencyMacro)
|
||||
find_dependency(Threads)
|
||||
find_dependency(azure-core-cpp "1.9.0")
|
||||
find_dependency(azure-core-cpp)
|
||||
|
||||
if(NOT WIN32)
|
||||
find_dependency(LibXml2)
|
||||
|
||||
@ -33,9 +33,9 @@ if(FETCH_SOURCE_DEPS)
|
||||
add_subdirectory(${oneFolder} EXCLUDE_FROM_ALL)
|
||||
endforeach()
|
||||
elseif(NOT AZ_ALL_LIBRARIES)
|
||||
find_package(azure-storage-blobs-cpp "12.7.0" CONFIG QUIET)
|
||||
find_package(azure-storage-blobs-cpp CONFIG QUIET)
|
||||
if(NOT azure-storage-blobs-cpp_FOUND)
|
||||
find_package(azure-storage-blobs-cpp "12.7.0" REQUIRED)
|
||||
find_package(azure-storage-blobs-cpp REQUIRED)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
@PACKAGE_INIT@
|
||||
|
||||
include(CMakeFindDependencyMacro)
|
||||
find_dependency(azure-storage-blobs-cpp "12.7.0")
|
||||
find_dependency(azure-storage-blobs-cpp)
|
||||
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/azure-storage-files-datalake-cppTargets.cmake")
|
||||
|
||||
|
||||
@ -33,9 +33,9 @@ if(FETCH_SOURCE_DEPS)
|
||||
add_subdirectory(${oneFolder} EXCLUDE_FROM_ALL)
|
||||
endforeach()
|
||||
elseif(NOT AZ_ALL_LIBRARIES)
|
||||
find_package(azure-storage-common-cpp "12.3.2" CONFIG QUIET)
|
||||
find_package(azure-storage-common-cpp CONFIG QUIET)
|
||||
if(NOT azure-storage-common-cpp_FOUND)
|
||||
find_package(azure-storage-common-cpp "12.3.2" REQUIRED)
|
||||
find_package(azure-storage-common-cpp REQUIRED)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
@PACKAGE_INIT@
|
||||
|
||||
include(CMakeFindDependencyMacro)
|
||||
find_dependency(azure-storage-common-cpp "12.3.2")
|
||||
find_dependency(azure-storage-common-cpp)
|
||||
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/azure-storage-files-shares-cppTargets.cmake")
|
||||
|
||||
|
||||
@ -33,9 +33,9 @@ if(FETCH_SOURCE_DEPS)
|
||||
add_subdirectory(${oneFolder} EXCLUDE_FROM_ALL)
|
||||
endforeach()
|
||||
elseif(NOT AZ_ALL_LIBRARIES)
|
||||
find_package(azure-storage-common-cpp "12.2.3" CONFIG QUIET)
|
||||
find_package(azure-storage-common-cpp CONFIG QUIET)
|
||||
if(NOT azure-storage-common-cpp_FOUND)
|
||||
find_package(azure-storage-common-cpp "12.2.3" REQUIRED)
|
||||
find_package(azure-storage-common-cpp REQUIRED)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
@PACKAGE_INIT@
|
||||
|
||||
include(CMakeFindDependencyMacro)
|
||||
find_dependency(azure-storage-common-cpp "12.2.3")
|
||||
find_dependency(azure-storage-common-cpp)
|
||||
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/azure-storage-queues-cppTargets.cmake")
|
||||
|
||||
|
||||
@ -33,9 +33,9 @@ include(CreateMapFile)
|
||||
|
||||
|
||||
if(NOT AZ_ALL_LIBRARIES)
|
||||
find_package(azure-core-cpp "1.2.0" CONFIG QUIET)
|
||||
find_package(azure-core-cpp CONFIG QUIET)
|
||||
if(NOT azure-core-cpp_FOUND)
|
||||
find_package(azure-core-cpp "1.2.0" REQUIRED)
|
||||
find_package(azure-core-cpp REQUIRED)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
@PACKAGE_INIT@
|
||||
|
||||
include(CMakeFindDependencyMacro)
|
||||
find_dependency(azure-core-cpp "1.3.1")
|
||||
find_dependency(azure-core-cpp)
|
||||
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/azure-template-cppTargets.cmake")
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user