summaryrefslogtreecommitdiff
path: root/cmake/Modules
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@gmail.com>2025-05-23 16:49:58 +0200
committerFelix Morgner <felix.morgner@gmail.com>2025-05-23 16:49:58 +0200
commitb7f2ff4d991ae068f7834bf8e565f6261bf7fff1 (patch)
tree652e356bd8c4f37d4ac643b662a1e5ae442b4df4 /cmake/Modules
parent5d8f799a1171f92054d4b45ba130cd7fdad0bd01 (diff)
downloadturns-b7f2ff4d991ae068f7834bf8e565f6261bf7fff1.tar.xz
turns-b7f2ff4d991ae068f7834bf8e565f6261bf7fff1.zip
license: add more license headers
Diffstat (limited to 'cmake/Modules')
-rw-r--r--cmake/Modules/EnableCoverage.cmake3
-rw-r--r--cmake/Modules/GlibCompileResources.cmake3
-rw-r--r--cmake/Modules/GlibCompileSchemas.cmake3
-rw-r--r--cmake/Modules/GlibIntrospection.cmake3
-rw-r--r--cmake/Modules/GlibMkenums.cmake3
5 files changed, 15 insertions, 0 deletions
diff --git a/cmake/Modules/EnableCoverage.cmake b/cmake/Modules/EnableCoverage.cmake
index 74dfe38..dcf6c5f 100644
--- a/cmake/Modules/EnableCoverage.cmake
+++ b/cmake/Modules/EnableCoverage.cmake
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: 2025 Felix Morgner <felix.morgner@gmail.com>
+# SPDX-License-Identifier: LGPL-2.1-only
+
function(enable_coverage TARGET)
target_compile_options("${TARGET}" PRIVATE
"$<$<AND:$<CXX_COMPILER_ID:GNU,Clang>,$<CONFIG:Debug>>:-fcondition-coverage>"
diff --git a/cmake/Modules/GlibCompileResources.cmake b/cmake/Modules/GlibCompileResources.cmake
index 8d10c1a..3922b92 100644
--- a/cmake/Modules/GlibCompileResources.cmake
+++ b/cmake/Modules/GlibCompileResources.cmake
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: 2025 Felix Morgner <felix.morgner@gmail.com>
+# SPDX-License-Identifier: LGPL-2.1-only
+
find_program(GLIB_COMPILE_RESOURCES
NAMES "glib-compile-resources"
REQUIRED
diff --git a/cmake/Modules/GlibCompileSchemas.cmake b/cmake/Modules/GlibCompileSchemas.cmake
index 1ffbd39..90f6a10 100644
--- a/cmake/Modules/GlibCompileSchemas.cmake
+++ b/cmake/Modules/GlibCompileSchemas.cmake
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: 2025 Felix Morgner <felix.morgner@gmail.com>
+# SPDX-License-Identifier: LGPL-2.1-only
+
find_program(GLIB_COMPILE_SCHEMAS_BIN
NAMES "glib-compile-schemas"
REQUIRED
diff --git a/cmake/Modules/GlibIntrospection.cmake b/cmake/Modules/GlibIntrospection.cmake
index ffec754..f2f1b91 100644
--- a/cmake/Modules/GlibIntrospection.cmake
+++ b/cmake/Modules/GlibIntrospection.cmake
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: 2025 Felix Morgner <felix.morgner@gmail.com>
+# SPDX-License-Identifier: LGPL-2.1-only
+
include_guard()
find_program(G_IR_SCANNER_BIN
diff --git a/cmake/Modules/GlibMkenums.cmake b/cmake/Modules/GlibMkenums.cmake
index c3d75e6..f3f29d9 100644
--- a/cmake/Modules/GlibMkenums.cmake
+++ b/cmake/Modules/GlibMkenums.cmake
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: 2025 Felix Morgner <felix.morgner@gmail.com>
+# SPDX-License-Identifier: LGPL-2.1-only
+
include_guard()
find_program(GLIB_MKENUMS_BIN