diff options
author | Lucie Gérard <lucie.gerard@qt.io> | 2022-07-06 10:58:17 +0200 |
---|---|---|
committer | Lucie Gérard <lucie.gerard@qt.io> | 2022-07-07 14:36:06 +0200 |
commit | 8efa3dbeaceed5ae7485296e2ae5ed6b7effdaaf (patch) | |
tree | 3cbb0e969785965f28f813cdbca846675a054c9e /cmake | |
parent | 5797071594d1081cddb30386a94196c839d90064 (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: I118bd63694cfe2c9a413af4a38828a31727f8e86
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/FindGPerf.cmake | 3 | ||||
-rw-r--r-- | cmake/FindGn.cmake | 3 | ||||
-rw-r--r-- | cmake/FindNinja.cmake | 3 | ||||
-rw-r--r-- | cmake/FindNodejs.cmake | 3 | ||||
-rw-r--r-- | cmake/FindPkgConfigHost.cmake | 3 | ||||
-rw-r--r-- | cmake/FindSnappy.cmake | 3 | ||||
-rw-r--r-- | cmake/Functions.cmake | 3 | ||||
-rw-r--r-- | cmake/Gn.cmake | 3 |
8 files changed, 24 insertions, 0 deletions
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 |