cmake: Add header to AddCCompilerFlag.cmake

(cherry picked from commit 47bf099c36)
This commit is contained in:
Andreas Schneider
2018-08-22 12:51:33 +02:00
parent 741021513b
commit c878545977

View File

@@ -1,3 +1,11 @@
#
# add_c_compiler_flag("-Werror" SUPPORTED_CFLAGS)
#
# Copyright (c) 2018 Andreas Schneider <asn@cryptomilk.org>
#
# 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)