diff options
| author | Ivan Solovev <ivan.solovev@qt.io> | 2025-08-06 14:38:27 +0200 |
|---|---|---|
| committer | Ivan Solovev <ivan.solovev@qt.io> | 2025-08-08 09:37:17 +0200 |
| commit | eb0ee4e5ecf6374cffe56f0bed49c4ba428aff92 (patch) | |
| tree | 90f57f3a32285173202220c023d239801cadb878 /src/gui/doc/snippets | |
| parent | c97f66efd4caa014f6b5f7b7152dec87ea4ac946 (diff) | |
Gui snippets: use qt_add_library
Otherwise some of the definitions are not propagated to the generated
library, and this might lead to build failures, e.g. when
QT_NO_EXCEPTIONS is defined.
Amends 1042c917c36c95cf2650e26ed4234ccb752fb54f
Change-Id: I5b74daabdbd32b68bc974ecc9268f4fa2e4a0de9
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/gui/doc/snippets')
| -rw-r--r-- | src/gui/doc/snippets/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/doc/snippets/CMakeLists.txt b/src/gui/doc/snippets/CMakeLists.txt index 3117268ed44..8d117912000 100644 --- a/src/gui/doc/snippets/CMakeLists.txt +++ b/src/gui/doc/snippets/CMakeLists.txt @@ -1,7 +1,7 @@ # Copyright (C) 2025 The Qt Company Ltd. # SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause -add_library(gui_snippets OBJECT +qt_add_library(gui_snippets OBJECT brush/brush.cpp brush/gradientcreationsnippet.cpp image/image.cpp |
