https://github.com/aguinet/usbtop/pull/15 --- src/CMakeLists.txt.orig 2017-12-17 21:14:26 UTC +++ src/CMakeLists.txt @@ -21,5 +21,9 @@ usb_stats.cpp add_executable(usbtop ${SRC_FILES}) target_link_libraries(usbtop ${PCAP_LIBRARIES} ${Boost_LIBRARIES}) +if(UNIX AND NOT APPLE) + # Boost.Thread 1.67+ headers reference pthread_condattr_* + target_link_libraries(usbtop pthread) +endif() install(TARGETS usbtop DESTINATION sbin)