diff options
Diffstat (limited to 'examples/network/loopback/CMakeLists.txt')
-rw-r--r-- | examples/network/loopback/CMakeLists.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/network/loopback/CMakeLists.txt b/examples/network/loopback/CMakeLists.txt index 233ff460e3..8d42284914 100644 --- a/examples/network/loopback/CMakeLists.txt +++ b/examples/network/loopback/CMakeLists.txt @@ -9,8 +9,10 @@ set(CMAKE_AUTOMOC ON) set(CMAKE_AUTORCC ON) set(CMAKE_AUTOUIC ON) -set(INSTALL_EXAMPLEDIR "examples") +set(INSTALL_EXAMPLEDIR "examples/network/loopback") +find_package(Qt6 COMPONENTS Core) +find_package(Qt6 COMPONENTS Gui) find_package(Qt6 COMPONENTS Network) find_package(Qt6 COMPONENTS Widgets) @@ -19,6 +21,8 @@ add_qt_gui_executable(loopback main.cpp ) target_link_libraries(loopback PUBLIC + Qt::Core + Qt::Gui Qt::Network Qt::Widgets ) |