summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorLucie Gérard <lucie.gerard@qt.io>2022-07-05 15:14:26 +0200
committerLucie Gérard <lucie.gerard@qt.io>2022-07-07 18:18:28 +0200
commit238affae87161b04dc2abef9c6acd77e57da0c4b (patch)
treeaab67b7fe044e2140089eb4154659a8c976b4e66 /cmake
parent29c013af0f33aaadd67f0783b4a0cc360195fd06 (diff)
downloadqtimageformats-238affae87161b04dc2abef9c6acd77e57da0c4b.tar.gz
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: Ifbf0be4c6f03259f9d084bbef4cf44fa60bf3fde Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/FindLibmng.cmake3
-rw-r--r--cmake/FindWrapJasper.cmake3
-rw-r--r--cmake/FindWrapWebP.cmake3
3 files changed, 9 insertions, 0 deletions
diff --git a/cmake/FindLibmng.cmake b/cmake/FindLibmng.cmake
index 8168530..53adc81 100644
--- a/cmake/FindLibmng.cmake
+++ b/cmake/FindLibmng.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
+
if(TARGET Libmng::Libmng)
set(Libmng_FOUND TRUE)
return()
diff --git a/cmake/FindWrapJasper.cmake b/cmake/FindWrapJasper.cmake
index 51a63e0..7d5bcb2 100644
--- a/cmake/FindWrapJasper.cmake
+++ b/cmake/FindWrapJasper.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
+
# We can't create the same interface imported target multiple times, CMake will complain if we do
# that. This can happen if the find_package call is done in multiple different subdirectories.
if(TARGET WrapJasper::WrapJasper)
diff --git a/cmake/FindWrapWebP.cmake b/cmake/FindWrapWebP.cmake
index 0f41386..597537c 100644
--- a/cmake/FindWrapWebP.cmake
+++ b/cmake/FindWrapWebP.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
+
# Latest upstream package provides both CMake and autotools building.
# Unfortunately Linux distros and homebrew build the package with autotools,
# so they do not ship the CMake Config file, but only the pkg-config files.