summaryrefslogtreecommitdiffstats
path: root/Modules/CheckCSourceRuns.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-09-28 15:46:51 (GMT)
committerBrad King <brad.king@kitware.com>2009-09-28 15:46:51 (GMT)
commit3a666595c9b071566723ff465fea8c3db196bde7 (patch)
treef65b9dbab0daf0b4c11e5dabad488b164db083f6 /Modules/CheckCSourceRuns.cmake
parentc4bb9c9d42d7dac1e1e28d488b933eae304e202d (diff)
downloadCMake-3a666595c9b071566723ff465fea8c3db196bde7.zip
CMake-3a666595c9b071566723ff465fea8c3db196bde7.tar.gz
CMake-3a666595c9b071566723ff465fea8c3db196bde7.tar.bz2
Convert CMake non-find modules to BSD License
This adds copyright/license notification blocks CMake's non-find modules. Most of the modules had no notices at all. Some had notices referring to the BSD license already. This commit normalizes existing notices and adds missing notices.
Diffstat (limited to 'Modules/CheckCSourceRuns.cmake')
-rw-r--r--Modules/CheckCSourceRuns.cmake13
1 files changed, 13 insertions, 0 deletions
diff --git a/Modules/CheckCSourceRuns.cmake b/Modules/CheckCSourceRuns.cmake
index 3bd12e0..50cd028 100644
--- a/Modules/CheckCSourceRuns.cmake
+++ b/Modules/CheckCSourceRuns.cmake
@@ -11,6 +11,19 @@
# CMAKE_REQUIRED_INCLUDES = list of include directories
# CMAKE_REQUIRED_LIBRARIES = list of libraries to link
+#=============================================================================
+# Copyright 2006-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+# License text for the above reference.)
+
MACRO(CHECK_C_SOURCE_RUNS SOURCE VAR)
IF("${VAR}" MATCHES "^${VAR}$")
SET(MACRO_CHECK_FUNCTION_DEFINITIONS