summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLucie Gérard <lucie.gerard@qt.io>2022-07-05 14:21:56 +0200
committerLucie Gérard <lucie.gerard@qt.io>2022-07-08 10:40:52 +0200
commit951e8ee00740a95f27f7bc241fa2095cf6ea5d13 (patch)
treecd5b5760d0cb6598217a685f522fe721494a514d
parent94203fcacd358d90f4327129a1debdf07096b28a (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: I30a4a8d8e6367885de48f93a47a5ee3cb9819cef Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io> Reviewed-by: Kai Koehne <kai.koehne@qt.io>
-rw-r--r--CMakeLists.txt3
-rw-r--r--translations/CMakeLists.txt3
-rw-r--r--translations/git-stage-script.cmake3
3 files changed, 9 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 199b4d4..b5ceda2 100644
--- a/CMakeLists.txt
+++ b/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 qttranslations.pro.
cmake_minimum_required(VERSION 3.16)
diff --git a/translations/CMakeLists.txt b/translations/CMakeLists.txt
index cf0db0a..3fa1afb 100644
--- a/translations/CMakeLists.txt
+++ b/translations/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
+
# special case skip regeneration
add_custom_target(ts-all)
diff --git a/translations/git-stage-script.cmake b/translations/git-stage-script.cmake
index f80d960..d027137 100644
--- a/translations/git-stage-script.cmake
+++ b/translations/git-stage-script.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
+
#
# CMake script to collect and stage modified .ts files to git
#