File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -11,3 +11,10 @@ set(VCPKG_BUILD_TYPE release)
1111set (VCPKG_C_FLAGS "" )
1212set (VCPKG_CXX_FLAGS "-std=c++20 -Wno-missing-template-arg-list-after-template-kw" )
1313
14+ if (PORT MATCHES "glog" )
15+ set (VCPKG_LIBRARY_LINKAGE dynamic)
16+ endif ()
17+
18+ if (PORT MATCHES "gflags" )
19+ set (VCPKG_LIBRARY_LINKAGE dynamic)
20+ endif ()
Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ function compile {
138138 -DCMAKE_CUDA_COMPILER=/usr/local/cuda/bin/nvcc"
139139 fi
140140 if [ -n " ${GLUTEN_VCPKG_ENABLED:- } " ]; then
141- COMPILE_OPTION=" $COMPILE_OPTION -DVELOX_GFLAGS_TYPE=static "
141+ COMPILE_OPTION=" $COMPILE_OPTION -DVELOX_GFLAGS_TYPE=shared "
142142 fi
143143
144144 COMPILE_OPTION=" $COMPILE_OPTION -DCMAKE_BUILD_TYPE=${BUILD_TYPE} "
You can’t perform that action at this time.
0 commit comments