From 47bf099c36c3bec1c490a14c9b045d9174ece96c Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Wed, 22 Aug 2018 12:51:33 +0200 Subject: [PATCH] cmake: Add header to AddCCompilerFlag.cmake --- cmake/Modules/AddCCompilerFlag.cmake | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/cmake/Modules/AddCCompilerFlag.cmake b/cmake/Modules/AddCCompilerFlag.cmake index 3c270722..c24c215c 100644 --- a/cmake/Modules/AddCCompilerFlag.cmake +++ b/cmake/Modules/AddCCompilerFlag.cmake @@ -1,3 +1,11 @@ +# +# add_c_compiler_flag("-Werror" SUPPORTED_CFLAGS) +# +# Copyright (c) 2018 Andreas Schneider +# +# Redistribution and use is allowed according to the terms of the BSD license. +# For details see the accompanying COPYING-CMAKE-SCRIPTS file. + include(CheckCCompilerFlag) macro(add_c_compiler_flag _COMPILER_FLAG _OUTPUT_VARIABLE)