From 4a3435f2bf32de5cd7fb88e3d9ea6a1edfcfbff8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=A4rkl?= Date: Mon, 17 Sep 2018 15:12:50 +0200 Subject: [PATCH] Add Qt Network to CMake --- src/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 843a1ce8..8f53d924 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -38,7 +38,7 @@ set(CMAKE_INCLUDE_CURRENT_DIR ON) set(CMAKE_AUTOMOC ON) set(CMAKE_AUTOUIC ON) set(CMAKE_AUTORCC ON) -find_package(Qt5 REQUIRED COMPONENTS Core Widgets Gui Svg) +find_package(Qt5 REQUIRED COMPONENTS Core Widgets Gui Svg Network) if(CUTTER_ENABLE_JUPYTER AND CUTTER_ENABLE_QTWEBENGINE) find_package(Qt5 COMPONENTS WebEngineWidgets) if(NOT Qt5_FOUND) @@ -97,7 +97,7 @@ qmake_configure_file("${CMAKE_CURRENT_SOURCE_DIR}/CutterConfig.h.in" add_executable(Cutter ${UI_FILES} ${QRC_FILES} ${SOURCE_FILES} ${HEADER_FILES}) -target_link_libraries(Cutter Qt5::Core Qt5::Widgets Qt5::Gui Qt5::Svg) +target_link_libraries(Cutter Qt5::Core Qt5::Widgets Qt5::Gui Qt5::Svg Qt5::Network) target_link_libraries(Cutter ${RADARE2_LIBRARIES}) if(CUTTER_ENABLE_JUPYTER) target_link_libraries(Cutter ${PYTHON_LIBRARIES})