summaryrefslogtreecommitdiffstats
path: root/Modules/CheckCXXCompilerFlag.cmake
diff options
context:
space:
mode:
authorRolf Eike Beer <eike@sf-mail.de>2013-08-13 19:06:19 (GMT)
committerRolf Eike Beer <eike@sf-mail.de>2013-08-13 19:17:42 (GMT)
commit293ecfeb79f9c0ac3e9018fa66d7cc944b9a21d9 (patch)
tree9d061c9d1f2d050b618a34b849947629c3299e92 /Modules/CheckCXXCompilerFlag.cmake
parent93eec2ecd1fab2b21e506397880d882b884cbea3 (diff)
downloadCMake-293ecfeb79f9c0ac3e9018fa66d7cc944b9a21d9.zip
CMake-293ecfeb79f9c0ac3e9018fa66d7cc944b9a21d9.tar.gz
CMake-293ecfeb79f9c0ac3e9018fa66d7cc944b9a21d9.tar.bz2
CheckC*CompilerFlag: add documentation what to expect from a positive result
Diffstat (limited to 'Modules/CheckCXXCompilerFlag.cmake')
-rw-r--r--Modules/CheckCXXCompilerFlag.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/CheckCXXCompilerFlag.cmake b/Modules/CheckCXXCompilerFlag.cmake
index 5e8db03..eee3a70 100644
--- a/Modules/CheckCXXCompilerFlag.cmake
+++ b/Modules/CheckCXXCompilerFlag.cmake
@@ -6,6 +6,9 @@
# sets CMAKE_REQUIRED_DEFINITIONS to <flag>.
# See help for CheckCXXSourceCompiles for a listing of variables
# that can otherwise modify the build.
+# The result only tells that the compiler does not give an error message when
+# it encounters the flag. If the flag has any effect or even a specific one is
+# beyond the scope of this module.
#=============================================================================
# Copyright 2006-2010 Kitware, Inc.