diff options
Diffstat (limited to 'examples/network/secureudpclient/CMakeLists.txt')
-rw-r--r-- | examples/network/secureudpclient/CMakeLists.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/network/secureudpclient/CMakeLists.txt b/examples/network/secureudpclient/CMakeLists.txt index 385918a61b..936d93524b 100644 --- a/examples/network/secureudpclient/CMakeLists.txt +++ b/examples/network/secureudpclient/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/secureudpclient") +find_package(Qt6 COMPONENTS Core) +find_package(Qt6 COMPONENTS Gui) find_package(Qt6 COMPONENTS Widgets) find_package(Qt6 COMPONENTS Network) @@ -21,6 +23,8 @@ add_qt_gui_executable(secureudpclient mainwindow.cpp mainwindow.h mainwindow.ui ) target_link_libraries(secureudpclient PUBLIC + Qt::Core + Qt::Gui Qt::Network Qt::Widgets ) |