summaryrefslogtreecommitdiffstats
path: root/Modules/CheckCXXSourceCompiles.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/CheckCXXSourceCompiles.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/CheckCXXSourceCompiles.cmake')
-rw-r--r--Modules/CheckCXXSourceCompiles.cmake13
1 files changed, 13 insertions, 0 deletions
diff --git a/Modules/CheckCXXSourceCompiles.cmake b/Modules/CheckCXXSourceCompiles.cmake
index 458ee6f..5f16607 100644
--- a/Modules/CheckCXXSourceCompiles.cmake
+++ b/Modules/CheckCXXSourceCompiles.cmake
@@ -11,6 +11,19 @@
# CMAKE_REQUIRED_INCLUDES = list of include directories
# CMAKE_REQUIRED_LIBRARIES = list of libraries to link
+#=============================================================================
+# Copyright 2005-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_CXX_SOURCE_COMPILES SOURCE VAR)
IF("${VAR}" MATCHES "^${VAR}$")
SET(_FAIL_REGEX)