Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make install gave undefined reference error for examples/cmake-dataflow project #486

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 14 additions & 2 deletions examples/cmake-dataflow/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,24 @@ link_directories(${dora_link_dirs})
add_executable(node_c_api node-c-api/main.cc)
add_dependencies(node_c_api Dora_c)
target_include_directories(node_c_api PRIVATE ${dora_c_include_dir})
target_link_libraries(node_c_api dora_node_api_c)
target_link_libraries(node_c_api dora_node_api_c
m
rt
dl
pthread
pcap
)

add_executable(node_rust_api node-rust-api/main.cc ${node_bridge})
add_dependencies(node_rust_api Dora_cxx)
target_include_directories(node_rust_api PRIVATE ${dora_cxx_include_dir})
target_link_libraries(node_rust_api dora_node_api_cxx)
target_link_libraries(node_rust_api dora_node_api_cxx
m
rt
dl
pthread
pcap
)

add_library(operator_c_api SHARED operator-c-api/operator.cc)
add_dependencies(operator_c_api Dora_c)
Expand Down
Loading