Skip to content

Commit c69b2f1

Browse files
authored
fix(cmake): fix factory registry in example (alibaba#178)
1 parent 356e504 commit c69b2f1

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

examples/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ add_executable(clean_demo clean_demo.cpp)
2626

2727
include_directories(${PAIMON_INCLUDE_DIRS})
2828

29+
set(CMAKE_EXE_LINKER_FLAGS "-Wl,--no-as-needed ${CMAKE_EXE_LINKER_FLAGS}")
30+
2931
target_link_libraries(read_write_demo
3032
PRIVATE arrow_shared
3133
paimon_shared

0 commit comments

Comments
 (0)