diff --git a/be/CMakeLists.txt b/be/CMakeLists.txt index ce208d8abc6e4b..1388ad8efa9844 100644 --- a/be/CMakeLists.txt +++ b/be/CMakeLists.txt @@ -532,6 +532,7 @@ set(DORIS_LINK_LIBS ${DORIS_LINK_LIBS} ${DORIS_DEPENDENCIES} -static-libstdc++ -static-libgcc + -lstdc++fs ) if ("${CMAKE_BUILD_TYPE}" STREQUAL "BCC")