Skip to content


Fix threading library handling
Browse files Browse the repository at this point in the history
  • Loading branch information
AMDmi3 committed Jun 2, 2015
1 parent fbc54a9 commit 07c0693
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,13 @@ target_link_libraries(netflow_plugin ipfix_rfc)
add_library(pcap_plugin STATIC pcap_plugin/pcap_collector.cpp)
target_link_libraries(pcap_plugin pcap)


add_library(pfring_plugin STATIC pfring_plugin/pfring_collector.cpp)
target_link_libraries(pfring_plugin ${PFRING_LIBRARIES})
target_link_libraries(pfring_plugin numa)
target_link_libraries(pfring_plugin pthread)
target_link_libraries(pfring_plugin ${CMAKE_THREAD_LIBS_INIT})

# example plugin
Expand Down Expand Up @@ -169,7 +171,7 @@ endif()

target_link_libraries(fastnetmon ${LOG4CPP_LIBRARY_PATH})

target_link_libraries(fastnetmon pthread)
target_link_libraries(fastnetmon ${CMAKE_THREAD_LIBS_INIT})

# Our libs
target_link_libraries(fastnetmon patricia)
Expand Down

0 comments on commit 07c0693

Please sign in to comment.