From 2ffbac7cb2f16ab350d203a12a86535772d1c578 Mon Sep 17 00:00:00 2001 From: Alexandru Croitor Date: Fri, 16 Oct 2020 11:55:24 +0200 Subject: CMake: Regenerate examples to use qt_add_executable Task-number: QTBUG-87661 Change-Id: I0dacfdc97a3fb7d88da85b67800f2c1b084d869b Reviewed-by: Joerg Bornemann --- examples/qtconcurrent/wordcount/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/qtconcurrent/wordcount') diff --git a/examples/qtconcurrent/wordcount/CMakeLists.txt b/examples/qtconcurrent/wordcount/CMakeLists.txt index 440b313926..b3636fca76 100644 --- a/examples/qtconcurrent/wordcount/CMakeLists.txt +++ b/examples/qtconcurrent/wordcount/CMakeLists.txt @@ -20,7 +20,7 @@ find_package(Qt6 COMPONENTS Gui) find_package(Qt6 COMPONENTS Concurrent) find_package(Qt6 COMPONENTS Widgets) -add_executable(wordcount +qt_add_executable(wordcount main.cpp ) target_link_libraries(wordcount PUBLIC -- cgit v1.2.3