This is an automated email from the ASF dual-hosted git repository.

philo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-gluten.git


The following commit(s) were added to refs/heads/main by this push:
     new fc549eee51 [VL] Fix wrong lib suffix for google_cloud_cpp_storage 
(#7933)
fc549eee51 is described below

commit fc549eee511304e3dbe02a5295c4016b827c4f10
Author: PHILO-HE <[email protected]>
AuthorDate: Thu Nov 14 13:30:25 2024 +0800

    [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 329da49497..3ed7574d1e 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()
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to