summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/serialport/CMakeLists.txt22
1 files changed, 11 insertions, 11 deletions
diff --git a/examples/serialport/CMakeLists.txt b/examples/serialport/CMakeLists.txt
index 8b903fa..2a850aa 100644
--- a/examples/serialport/CMakeLists.txt
+++ b/examples/serialport/CMakeLists.txt
@@ -1,13 +1,13 @@
-add_subdirectory(cenumerator)
-add_subdirectory(creaderasync)
-add_subdirectory(creadersync)
-add_subdirectory(cwriterasync)
-add_subdirectory(cwritersync)
+qt_internal_add_example(cenumerator)
+qt_internal_add_example(creaderasync)
+qt_internal_add_example(creadersync)
+qt_internal_add_example(cwriterasync)
+qt_internal_add_example(cwritersync)
if((((NOT QT.widgets.name_ISEMPTY))))
- add_subdirectory(enumerator)
- add_subdirectory(terminal)
- add_subdirectory(blockingsender)
- add_subdirectory(blockingreceiver)
- add_subdirectory(sender)
- add_subdirectory(receiver)
+ qt_internal_add_example(enumerator)
+ qt_internal_add_example(terminal)
+ qt_internal_add_example(blockingsender)
+ qt_internal_add_example(blockingreceiver)
+ qt_internal_add_example(sender)
+ qt_internal_add_example(receiver)
endif()