diff options
author | Kai Köhne <kai.koehne@qt.io> | 2022-02-14 19:30:13 +0100 |
---|---|---|
committer | Kai Köhne <kai.koehne@qt.io> | 2022-03-10 15:38:47 +0100 |
commit | 2a1fe8400fb97308fe7e3eb70997c118e388a7ec (patch) | |
tree | cc04653e4f016a634af1d8a2afdfc3af91929ed4 /examples/CMakeLists.txt | |
parent | 71556f51d88199f1f5258a560d588df4d9aed7ca (diff) | |
download | qtsvg-2a1fe8400fb97308fe7e3eb70997c118e388a7ec.tar.gz |
Improve examples CMakeLists.txt
- Remove "# generated from xyz.pro" comment from pro2cmake
- Remove automatic use of CMAKE_AUTORCC
- Only opt into CMAKE_AUTOUIC if .ui files are involved
- Remove explicit setting of CMAKE_INCLUDE_CURRENT_DIR
- Combine multiple find_package(Qt6 ... calls)
- use REQUIRED COMPONENTS
- sort components alphabetically
- Fix wrong indentations
- Use (only) one empty line after multi-line commands
Pick-to: 6.3
Change-Id: Ifce5c3ebdc328269b491fa1e1e79e4cd5ef1f4db
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'examples/CMakeLists.txt')
-rw-r--r-- | examples/CMakeLists.txt | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index a2cd1d5..93eeea6 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from examples.pro. - qt_examples_build_begin(EXTERNAL_BUILD) add_subdirectory(svg) |