From 8f71966234ad919daf9e7c307e7a535eabd41360 Mon Sep 17 00:00:00 2001 From: PHILO-HE Date: Wed, 18 Dec 2024 03:17:29 +0800 Subject: [PATCH] [VL] Allow shared dependencies for lib GCS (#8251) This pr simply removes the setting for CMAKE_FIND_LIBRARY_SUFFIXES before finding lib GCS. It only has impact to dynamic build (vcpkg off), no impact to static build. --- cpp/velox/CMakeLists.txt | 3 --- 1 file changed, 3 deletions(-) diff --git a/cpp/velox/CMakeLists.txt b/cpp/velox/CMakeLists.txt index 9fb8b6c6a6af..6266ae5e2f94 100644 --- a/cpp/velox/CMakeLists.txt +++ b/cpp/velox/CMakeLists.txt @@ -119,10 +119,7 @@ macro(find_awssdk) endmacro() macro(find_gcssdk) - set(CMAKE_FIND_LIBRARY_SUFFIXES_BCK ${CMAKE_FIND_LIBRARY_SUFFIXES}) - set(CMAKE_FIND_LIBRARY_SUFFIXES ".a") find_package(google_cloud_cpp_storage CONFIG 2.22.0 REQUIRED) - set(CMAKE_FIND_LIBRARY_SUFFIXES ${CMAKE_FIND_LIBRARY_SUFFIXES_BCK}) endmacro() macro(find_azure)