--- a/extcap/CMakeLists.txt +++ b/extcap/CMakeLists.txt @@ -68,6 +68,8 @@ if(HAVE_LIBPCAP) set(androiddump_LIBS ui + wiretap + wsutil ${GLIB2_LIBRARIES} ${PCAP_LIBRARIES} ) @@ -78,6 +80,7 @@ set(androiddump_LIBS ui wiretap + wsutil ${GLIB2_LIBRARIES} ${ZLIB_LIBRARIES} ${CMAKE_DL_LIBS} @@ -89,7 +92,6 @@ ) add_executable(androiddump WIN32 ${androiddump_FILES}) - # XXX Shouldn't we add wsutil to androiddump_LIBS instead? set_extcap_executable_properties(androiddump) target_link_libraries(androiddump ${androiddump_LIBS}) install(TARGETS androiddump RUNTIME DESTINATION ${EXTCAP_DIR})