Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMartin Hořeňovský2022-02-03 00:34:01 +0100
committerMartin Hořeňovský2022-02-06 23:59:15 +0100
commita1e5934aa9ccf881ab95c102f05f9044ad438dd8 (patch)
treec23997b2531e76b5ad3608d9b94ec3e992dff3c4
parent190f71792a0989c3d67ae4fcc656439aae4f8593 (diff)
downloadcatch3-a1e5934aa9ccf881ab95c102f05f9044ad438dd8.tar.gz
Add licence header to MiscFunctions.cmake
-rw-r--r--CMake/MiscFunctions.cmake8
1 files changed, 8 insertions, 0 deletions
diff --git a/CMake/MiscFunctions.cmake b/CMake/MiscFunctions.cmake
index 7548f287..fc3f0cb4 100644
--- a/CMake/MiscFunctions.cmake
+++ b/CMake/MiscFunctions.cmake
@@ -1,3 +1,11 @@
+
+# Copyright Catch2 Authors
+# Distributed under the Boost Software License, Version 1.0.
+# (See accompanying file LICENSE_1_0.txt or copy at
+# https://www.boost.org/LICENSE_1_0.txt)
+
+# SPDX-License-Identifier: BSL-1.0
+
include(CheckCXXCompilerFlag)
function(add_cxx_flag_if_supported_to_targets flagname targets)
check_cxx_compiler_flag("${flagname}" HAVE_FLAG_${flagname})