aboutsummaryrefslogtreecommitdiff
path: root/cmake/Modules
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2018-08-22 12:51:33 +0200
committerAndreas Schneider <asn@cryptomilk.org>2018-08-23 22:33:29 +0200
commit47bf099c36c3bec1c490a14c9b045d9174ece96c (patch)
treef1bca4d416661d41c95c2645191b78b81db6f02e /cmake/Modules
parent9a43298b3a045afb4e72c9d07283a5f459fedec9 (diff)
downloadlibssh-47bf099c36c3bec1c490a14c9b045d9174ece96c.tar.gz
libssh-47bf099c36c3bec1c490a14c9b045d9174ece96c.tar.xz
libssh-47bf099c36c3bec1c490a14c9b045d9174ece96c.zip
cmake: Add header to AddCCompilerFlag.cmake
Diffstat (limited to 'cmake/Modules')
-rw-r--r--cmake/Modules/AddCCompilerFlag.cmake8
1 files changed, 8 insertions, 0 deletions
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 <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)