diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-10-16 11:55:24 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-10-19 11:51:47 +0200 |
commit | 2ffbac7cb2f16ab350d203a12a86535772d1c578 (patch) | |
tree | 6c75c04df8ddfdf9c466647858538ea9fa3b925b /examples/xml/xmlstreamlint | |
parent | c3fee0d984e59cee3ab6d069011015dd850be98f (diff) |
CMake: Regenerate examples to use qt_add_executable
Task-number: QTBUG-87661
Change-Id: I0dacfdc97a3fb7d88da85b67800f2c1b084d869b
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'examples/xml/xmlstreamlint')
-rw-r--r-- | examples/xml/xmlstreamlint/.prev_CMakeLists.txt | 2 | ||||
-rw-r--r-- | examples/xml/xmlstreamlint/CMakeLists.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/xml/xmlstreamlint/.prev_CMakeLists.txt b/examples/xml/xmlstreamlint/.prev_CMakeLists.txt index 3c2e8cb19a..215cc83f6e 100644 --- a/examples/xml/xmlstreamlint/.prev_CMakeLists.txt +++ b/examples/xml/xmlstreamlint/.prev_CMakeLists.txt @@ -17,7 +17,7 @@ set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/xml/xmlstreamlint") find_package(Qt6 COMPONENTS Core) -add_executable(xmlstreamlint +qt_add_executable(xmlstreamlint main.cpp ) target_link_libraries(xmlstreamlint PUBLIC diff --git a/examples/xml/xmlstreamlint/CMakeLists.txt b/examples/xml/xmlstreamlint/CMakeLists.txt index bea0c5c1f4..0642344892 100644 --- a/examples/xml/xmlstreamlint/CMakeLists.txt +++ b/examples/xml/xmlstreamlint/CMakeLists.txt @@ -17,7 +17,7 @@ set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/xml/xmlstreamlint") find_package(Qt6 COMPONENTS Core Xml) # special case -add_executable(xmlstreamlint +qt_add_executable(xmlstreamlint main.cpp ) target_link_libraries(xmlstreamlint PUBLIC |