From 8efa3dbeaceed5ae7485296e2ae5ed6b7effdaaf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucie=20G=C3=A9rard?= Date: Wed, 6 Jul 2022 10:58:17 +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: I118bd63694cfe2c9a413af4a38828a31727f8e86 Reviewed-by: Jörg Bornemann --- cmake/FindGPerf.cmake | 3 +++ cmake/FindGn.cmake | 3 +++ cmake/FindNinja.cmake | 3 +++ cmake/FindNodejs.cmake | 3 +++ cmake/FindPkgConfigHost.cmake | 3 +++ cmake/FindSnappy.cmake | 3 +++ cmake/Functions.cmake | 3 +++ cmake/Gn.cmake | 3 +++ 8 files changed, 24 insertions(+) (limited to 'cmake') diff --git a/cmake/FindGPerf.cmake b/cmake/FindGPerf.cmake index 85b55f1b8..a4d9146f7 100644 --- a/cmake/FindGPerf.cmake +++ b/cmake/FindGPerf.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 + find_program(GPerf_EXECUTABLE NAMES gperf) include(FindPackageHandleStandardArgs) diff --git a/cmake/FindGn.cmake b/cmake/FindGn.cmake index 6bef6009e..7009d7d3c 100644 --- a/cmake/FindGn.cmake +++ b/cmake/FindGn.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(NOT DEFINED WEBENGINE_ROOT_BUILD_DIR) set(WEBENGINE_ROOT_BUILD_DIR ${CMAKE_CURRENT_BINARY_DIR}) endif() diff --git a/cmake/FindNinja.cmake b/cmake/FindNinja.cmake index 720e73266..45739d912 100644 --- a/cmake/FindNinja.cmake +++ b/cmake/FindNinja.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 (NOT DEFINED WEBENGINE_ROOT_BUILD_DIR) set(WEBENGINE_ROOT_BUILD_DIR ${CMAKE_CURRENT_BINARY_DIR}) endif() diff --git a/cmake/FindNodejs.cmake b/cmake/FindNodejs.cmake index 0e5efe4a3..e8ca606f1 100644 --- a/cmake/FindNodejs.cmake +++ b/cmake/FindNodejs.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 + find_program(Nodejs_EXECUTABLE NAMES node nodejs) if(Nodejs_EXECUTABLE) diff --git a/cmake/FindPkgConfigHost.cmake b/cmake/FindPkgConfigHost.cmake index de0216384..6c074e452 100644 --- a/cmake/FindPkgConfigHost.cmake +++ b/cmake/FindPkgConfigHost.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 + # this is just simply pkg config wrapper to pass executable path to gn if(CMAKE_CROSSCOMPILING) diff --git a/cmake/FindSnappy.cmake b/cmake/FindSnappy.cmake index 1470c55a9..26d45b5f6 100644 --- a/cmake/FindSnappy.cmake +++ b/cmake/FindSnappy.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 Snappy::Snappy) set(Snappy_FOUND TRUE) diff --git a/cmake/Functions.cmake b/cmake/Functions.cmake index e66aa0694..bbed4e854 100644 --- a/cmake/Functions.cmake +++ b/cmake/Functions.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 + function(assertTargets) qt_parse_all_arguments(arg "add_check_for_support" "" "" "MODULES;TARGETS" "${ARGN}" diff --git a/cmake/Gn.cmake b/cmake/Gn.cmake index 99f4dae38..2f27d2d51 100644 --- a/cmake/Gn.cmake +++ b/cmake/Gn.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 + # This is gn wrapper script and it assables final BUILD.gn based on: # gn_config_target.cmake gn_config_c.cmake gn_config_cxx.cmake -- cgit v1.2.3