From fc549eee511304e3dbe02a5295c4016b827c4f10 Mon Sep 17 00:00:00 2001 From: PHILO-HE Date: Thu, 14 Nov 2024 13:30:25 +0800 Subject: [PATCH] [VL] Fix wrong lib suffix for google_cloud_cpp_storage (#7933) --- cpp/velox/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpp/velox/CMakeLists.txt b/cpp/velox/CMakeLists.txt index 329da49497f3..3ed7574d1e4c 100644 --- a/cpp/velox/CMakeLists.txt +++ b/cpp/velox/CMakeLists.txt @@ -138,8 +138,8 @@ endmacro() macro(find_gcssdk) set(CMAKE_FIND_LIBRARY_SUFFIXES_BCK ${CMAKE_FIND_LIBRARY_SUFFIXES}) - set(CMAKE_FIND_LIBRARY_SUFFIXES ".so") - find_package(google_cloud_cpp_storage REQUIRED) + 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()