Skip to content

Commit

Permalink
Fix for CMake linking issue on Ubuntu 18.04
Browse files Browse the repository at this point in the history
Since pthread is also required by Apache Arrow, we need to link it lastly
  • Loading branch information
mewim committed Jan 9, 2023
1 parent 70fc9e1 commit 57c1b6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ add_subdirectory(transaction)

add_library(kuzu STATIC ${ALL_OBJECT_FILES})
target_link_libraries(kuzu PUBLIC antlr4_cypher antlr4_runtime utf8proc
Threads::Threads parquet_lib arrow_lib arrow_deps)
parquet_lib arrow_lib arrow_deps Threads::Threads)
target_include_directories(
kuzu PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>)

0 comments on commit 57c1b6b

Please sign in to comment.