Skip to content

Commit

Permalink
Update cpp/cmake_modules/FindAzure.cmake
Browse files Browse the repository at this point in the history
Co-authored-by: Sutou Kouhei <kou@cozmixng.org>
  • Loading branch information
Tom-Newton and kou committed Aug 16, 2023
1 parent 5386ae3 commit 7fbf0d8
Showing 1 changed file with 8 additions and 14 deletions.
22 changes: 8 additions & 14 deletions cpp/cmake_modules/FindAzure.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -40,17 +40,11 @@ find_package(azure-storage-blobs-cpp ${find_package_args})
find_package(azure-storage-common-cpp ${find_package_args})
find_package(azure-storage-files-datalake-cpp ${find_package_args})

if(azure-core-cpp_FOUND AND azure-identity-cpp_FOUND AND azure-storage-blobs-cpp_FOUND
AND azure-storage-common-cpp_FOUND AND azure-storage-files-datalake-cpp_FOUND)
list(APPEND
AZURE_SDK_LINK_LIBRARIES
Azure::azure-core
Azure::azure-identity
Azure::azure-storage-blobs
Azure::azure-storage-common
Azure::azure-storage-files-datalake
)
set(Azure_FOUND TRUE)
else()
set(Azure_FOUND FALSE)
endif()
find_package_handle_standard_args(
Azure
REQUIRED_VARS azure-core-cpp_FOUND
azure-identity-cpp_FOUND
azure-storage-blobs-cpp_FOUND
azure-storage-common-cpp_FOUND
azure-storage-files-datalake-cpp_FOUND
VERSION_VAR azure-storage-files-datalake-cpp_VERSION)

0 comments on commit 7fbf0d8

Please sign in to comment.