Skip to content
Merged
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions src/Daggy/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ set(TARGET daggy)

option(PCAPNG_SUPPORT "pcap to pcapng convertor" OFF)

find_package(Qt6 COMPONENTS Core REQUIRED)
find_package(Qt6 COMPONENTS Core Network CONFIG REQUIRED)

add_executable(${TARGET})
include(rpath_bin)
Expand All @@ -15,7 +15,7 @@ target_sources(${TARGET}
CConsoleDaggy.cpp
)

target_link_libraries(${TARGET} PRIVATE DaggyCore)
target_link_libraries(${TARGET} PRIVATE DaggyCore Qt6::Core Qt6::Network)

if (PCAPNG_SUPPORT)
add_compile_definitions(PCAPNG_SUPPORT)
Expand Down
3 changes: 1 addition & 2 deletions src/DaggyCore/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ target_sources(${TARGET}
aggregators/CConsole.hpp
)

target_link_libraries(${TARGET} PUBLIC Qt6::Core)
target_link_libraries(${TARGET} PUBLIC Qt6::Core Qt6::Network)

if (SSH2_SUPPORT)
if(CONAN_BUILD)
Expand All @@ -57,7 +57,6 @@ if (SSH2_SUPPORT)
else()
target_link_libraries(${TARGET} PUBLIC ssh2 crypto)
endif()
target_link_libraries(${TARGET} PUBLIC Qt6::Network)

target_sources(${TARGET}
PRIVATE
Expand Down
Loading