aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLucie Gérard <lucie.gerard@qt.io>2022-07-05 14:17:47 +0200
committerLucie Gerard <lucie.gerard@qt.io>2022-07-07 13:36:16 +0000
commit5a5d7fb6d9d29de2fd381f4a8dc14c5a272ad53c (patch)
treeed5250c37c324497e9ce504e0fc300d00a619e4b
parent076f57c9436b55921a6477bc81660c5564c117a9 (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: I06e95211a8129abd51140b9aac19be23f8e25937 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
-rw-r--r--CMakeLists.txt3
-rw-r--r--src/CMakeLists.txt3
-rw-r--r--tests/manual/browser/CMakeLists.txt3
3 files changed, 9 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b71d215..2d34431 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
+
cmake_minimum_required(VERSION 3.7)
project(qlitehtml VERSION 1.0 LANGUAGES CXX)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index b508a05..c72de6a 100644
--- a/src/CMakeLists.txt
+++ b/src/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
+
# set the following variables before adding as subdirectory into a project
# QLITEHTML_BIN_PATH - relative install path for result DLLs
# QLITEHTML_LIBRARY_PATH - relative install path for result dynamic libraries
diff --git a/tests/manual/browser/CMakeLists.txt b/tests/manual/browser/CMakeLists.txt
index f6fe7a1..77f14a3 100644
--- a/tests/manual/browser/CMakeLists.txt
+++ b/tests/manual/browser/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
+
find_package(${Qt} COMPONENTS Widgets Network REQUIRED)
add_executable(qlitehtmlbrowser