From 238affae87161b04dc2abef9c6acd77e57da0c4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucie=20G=C3=A9rard?= Date: Tue, 5 Jul 2022 15:14:26 +0200 Subject: Add license headers to cmake files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- cmake/FindLibmng.cmake | 3 +++ cmake/FindWrapJasper.cmake | 3 +++ cmake/FindWrapWebP.cmake | 3 +++ 3 files changed, 9 insertions(+) (limited to 'cmake') 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. -- cgit v1.2.1