summaryrefslogtreecommitdiffstats
path: root/Modules/CheckCCompilerFlag.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/CheckCCompilerFlag.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/CheckCCompilerFlag.cmake')
-rw-r--r--Modules/CheckCCompilerFlag.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/CheckCCompilerFlag.cmake b/Modules/CheckCCompilerFlag.cmake
index efdac20..53f3454 100644
--- a/Modules/CheckCCompilerFlag.cmake
+++ b/Modules/CheckCCompilerFlag.cmake
@@ -10,6 +10,7 @@
#
# <flag> - the compiler flag
# <var> - variable to store the result
+# Will be created as an internal cache variable.
#
# This internally calls the check_c_source_compiles macro and sets
# CMAKE_REQUIRED_DEFINITIONS to <flag>. See help for