summaryrefslogtreecommitdiffstats
path: root/Modules/CheckCSourceCompiles.cmake
diff options
context:
space:
mode:
authorSebastian Leske <sebastian.leske@sleske.name>2014-09-10 06:35:49 (GMT)
committerBrad King <brad.king@kitware.com>2014-09-11 12:55:26 (GMT)
commit908c74399a737d878e18823e00730964896d1184 (patch)
tree830fbd1030f8f12bc4b4b97065ede39c3e10799e /Modules/CheckCSourceCompiles.cmake
parent0a92b23c52675bf8fe93cb9959266a49ab509ac1 (diff)
downloadCMake-908c74399a737d878e18823e00730964896d1184.zip
CMake-908c74399a737d878e18823e00730964896d1184.tar.gz
CMake-908c74399a737d878e18823e00730964896d1184.tar.bz2
Help: Document that the CHECK_* macros create cache variables
Otherwise callers may expect to be able to re-use result variables.
Diffstat (limited to 'Modules/CheckCSourceCompiles.cmake')
-rw-r--r--Modules/CheckCSourceCompiles.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/CheckCSourceCompiles.cmake b/Modules/CheckCSourceCompiles.cmake
index 7523446..6e80fb5 100644
--- a/Modules/CheckCSourceCompiles.cmake
+++ b/Modules/CheckCSourceCompiles.cmake
@@ -10,6 +10,7 @@
#
# <code> - source code to try to compile, must define 'main'
# <var> - variable to store whether the source code compiled
+# Will be created as an internal cache variable.
# <fail-regex> - fail if test output matches this regex
#
# The following variables may be set before calling this macro to modify