summaryrefslogtreecommitdiffstats
path: root/Modules/CheckCXXCompilerFlag.cmake
diff options
context:
space:
mode:
authorJoachim Wuttke (l) <j.wuttke@fz-juelich.de>2018-10-09 19:55:10 (GMT)
committerCraig Scott <craig.scott@crascit.com>2018-10-18 20:27:31 (GMT)
commit93f3f65516c65d79fe7bea54e883f1d767a99b6b (patch)
tree6a69af9d68f1fc06e312d4bc77740890af68e872 /Modules/CheckCXXCompilerFlag.cmake
parentfc7ee1ca459c3b231aa1fb64aeeaee590c019513 (diff)
downloadCMake-93f3f65516c65d79fe7bea54e883f1d767a99b6b.zip
CMake-93f3f65516c65d79fe7bea54e883f1d767a99b6b.tar.gz
CMake-93f3f65516c65d79fe7bea54e883f1d767a99b6b.tar.bz2
Help: Revise docs of modules AddFileDependencies..CheckFunctionExists
* Replace '::' by '.. code-block:: cmake' wherever it makes sense. * Convert to definition list where appropriate. * Prefer '<placeholder>' over 'placeholder'.
Diffstat (limited to 'Modules/CheckCXXCompilerFlag.cmake')
-rw-r--r--Modules/CheckCXXCompilerFlag.cmake3
1 files changed, 1 insertions, 2 deletions
diff --git a/Modules/CheckCXXCompilerFlag.cmake b/Modules/CheckCXXCompilerFlag.cmake
index dd60835..a01e142 100644
--- a/Modules/CheckCXXCompilerFlag.cmake
+++ b/Modules/CheckCXXCompilerFlag.cmake
@@ -9,7 +9,7 @@ Check whether the CXX compiler supports a given flag.
.. command:: check_cxx_compiler_flag
- ::
+ .. code-block:: cmake
check_cxx_compiler_flag(<flag> <var>)
@@ -61,4 +61,3 @@ macro (CHECK_CXX_COMPILER_FLAG _FLAG _RESULT)
set (CMAKE_REQUIRED_DEFINITIONS "${SAFE_CMAKE_REQUIRED_DEFINITIONS}")
endmacro ()
-