summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/websockets/echoclient/CMakeLists.txt2
-rw-r--r--examples/websockets/echoserver/CMakeLists.txt2
-rw-r--r--examples/websockets/qmlwebsocketclient/CMakeLists.txt2
-rw-r--r--examples/websockets/qmlwebsocketserver/CMakeLists.txt2
-rw-r--r--examples/websockets/simplechat/CMakeLists.txt2
-rw-r--r--examples/websockets/sslechoclient/CMakeLists.txt2
-rw-r--r--examples/websockets/sslechoserver/CMakeLists.txt2
7 files changed, 7 insertions, 7 deletions
diff --git a/examples/websockets/echoclient/CMakeLists.txt b/examples/websockets/echoclient/CMakeLists.txt
index 0f451cf..b87dd0a 100644
--- a/examples/websockets/echoclient/CMakeLists.txt
+++ b/examples/websockets/echoclient/CMakeLists.txt
@@ -18,7 +18,7 @@ set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/websockets/echoclient")
find_package(Qt6 COMPONENTS Core)
find_package(Qt6 COMPONENTS WebSockets)
-add_executable(echoclient
+qt_add_executable(echoclient
echoclient.cpp echoclient.h
main.cpp
)
diff --git a/examples/websockets/echoserver/CMakeLists.txt b/examples/websockets/echoserver/CMakeLists.txt
index 7877364..892303f 100644
--- a/examples/websockets/echoserver/CMakeLists.txt
+++ b/examples/websockets/echoserver/CMakeLists.txt
@@ -17,7 +17,7 @@ set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/websockets/echoserver")
find_package(Qt6 COMPONENTS WebSockets)
-add_executable(echoserver
+qt_add_executable(echoserver
echoserver.cpp echoserver.h
main.cpp
)
diff --git a/examples/websockets/qmlwebsocketclient/CMakeLists.txt b/examples/websockets/qmlwebsocketclient/CMakeLists.txt
index 73da980..a920c4a 100644
--- a/examples/websockets/qmlwebsocketclient/CMakeLists.txt
+++ b/examples/websockets/qmlwebsocketclient/CMakeLists.txt
@@ -20,7 +20,7 @@ find_package(Qt6 COMPONENTS Gui)
find_package(Qt6 COMPONENTS Quick)
find_package(Qt6 COMPONENTS WebSockets)
-add_executable(qmlwebsocketclient
+qt_add_executable(qmlwebsocketclient
main.cpp
)
target_link_libraries(qmlwebsocketclient PUBLIC
diff --git a/examples/websockets/qmlwebsocketserver/CMakeLists.txt b/examples/websockets/qmlwebsocketserver/CMakeLists.txt
index cd6fec7..665e931 100644
--- a/examples/websockets/qmlwebsocketserver/CMakeLists.txt
+++ b/examples/websockets/qmlwebsocketserver/CMakeLists.txt
@@ -20,7 +20,7 @@ find_package(Qt6 COMPONENTS Gui)
find_package(Qt6 COMPONENTS Quick)
find_package(Qt6 COMPONENTS WebSockets)
-add_executable(qmlwebsocketserver
+qt_add_executable(qmlwebsocketserver
main.cpp
)
target_link_libraries(qmlwebsocketserver PUBLIC
diff --git a/examples/websockets/simplechat/CMakeLists.txt b/examples/websockets/simplechat/CMakeLists.txt
index 82c2fea..6b67fd6 100644
--- a/examples/websockets/simplechat/CMakeLists.txt
+++ b/examples/websockets/simplechat/CMakeLists.txt
@@ -17,7 +17,7 @@ set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/websockets/simplechat")
find_package(Qt6 COMPONENTS WebSockets)
-add_executable(chatserver
+qt_add_executable(chatserver
chatserver.cpp chatserver.h
main.cpp
)
diff --git a/examples/websockets/sslechoclient/CMakeLists.txt b/examples/websockets/sslechoclient/CMakeLists.txt
index b1269f2..0e56e90 100644
--- a/examples/websockets/sslechoclient/CMakeLists.txt
+++ b/examples/websockets/sslechoclient/CMakeLists.txt
@@ -17,7 +17,7 @@ set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/websockets/sslechoclient")
find_package(Qt6 COMPONENTS WebSockets)
-add_executable(sslechoclient
+qt_add_executable(sslechoclient
main.cpp
sslechoclient.cpp sslechoclient.h
)
diff --git a/examples/websockets/sslechoserver/CMakeLists.txt b/examples/websockets/sslechoserver/CMakeLists.txt
index 8f71e97..097768c 100644
--- a/examples/websockets/sslechoserver/CMakeLists.txt
+++ b/examples/websockets/sslechoserver/CMakeLists.txt
@@ -17,7 +17,7 @@ set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/websockets/sslechoserver")
find_package(Qt6 COMPONENTS WebSockets)
-add_executable(sslechoserver
+qt_add_executable(sslechoserver
main.cpp
sslechoserver.cpp sslechoserver.h
)