summaryrefslogtreecommitdiffstats
path: root/src/xml
diff options
context:
space:
mode:
authorLucie Gérard <lucie.gerard@qt.io>2022-07-05 13:26:52 +0200
committerLucie Gérard <lucie.gerard@qt.io>2022-08-03 17:14:55 +0200
commitfb1b20eab30096f3f9edf3da1200fbe8e2f66b2c (patch)
treea620c5620bdd7091d67c5627ba3d4b948804e89b /src/xml
parent15117f84bb9a5fd191105b2a4d8ebafc6c819fb9 (diff)
Add license headers to cmake files
CMakeLists.txt and .cmake files of significant size (more than 2 lines according to our check in tst_license.pl) now have the copyright and license header. Existing copyright statements remain intact Task-number: QTBUG-88621 Change-Id: I3b98cdc55ead806ec81ce09af9271f9b95af97fa Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src/xml')
-rw-r--r--src/xml/CMakeLists.txt3
-rw-r--r--src/xml/configure.cmake3
-rw-r--r--src/xml/doc/snippets/CMakeLists.txt3
3 files changed, 9 insertions, 0 deletions
diff --git a/src/xml/CMakeLists.txt b/src/xml/CMakeLists.txt
index 11050b5d8c..4ddd3f5ceb 100644
--- a/src/xml/CMakeLists.txt
+++ b/src/xml/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
# Generated from xml.pro.
#####################################################################
diff --git a/src/xml/configure.cmake b/src/xml/configure.cmake
index 25a7de5aa2..f9b5a86514 100644
--- a/src/xml/configure.cmake
+++ b/src/xml/configure.cmake
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
#### Inputs
diff --git a/src/xml/doc/snippets/CMakeLists.txt b/src/xml/doc/snippets/CMakeLists.txt
index 9a51f6fcb7..43f53ce03c 100644
--- a/src/xml/doc/snippets/CMakeLists.txt
+++ b/src/xml/doc/snippets/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
#! [cmake_use]
find_package(Qt6 REQUIRED COMPONENTS Xml)
target_link_libraries(mytarget PRIVATE Qt6::Xml)