mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-22 13:26:10 +01:00
Add licence header to MiscFunctions.cmake
This commit is contained in:
parent
190f71792a
commit
a1e5934aa9
@ -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)
|
include(CheckCXXCompilerFlag)
|
||||||
function(add_cxx_flag_if_supported_to_targets flagname targets)
|
function(add_cxx_flag_if_supported_to_targets flagname targets)
|
||||||
check_cxx_compiler_flag("${flagname}" HAVE_FLAG_${flagname})
|
check_cxx_compiler_flag("${flagname}" HAVE_FLAG_${flagname})
|
||||||
|
Loading…
Reference in New Issue
Block a user