diff options
author | Bartosz Kosiorek <bartosz.kosiorek@tomtom.com> | 2019-04-12 14:37:05 (GMT) |
---|---|---|
committer | Bartosz Kosiorek <bartosz.kosiorek@tomtom.com> | 2019-04-23 08:39:34 (GMT) |
commit | cb811d11cee1e2873cc2bf506cd081769e894ac3 (patch) | |
tree | 6fa97b0fb931bfbc6faaf866c3e745a0fd5ea430 /Modules/CheckLanguage.cmake | |
parent | 4ff7706f2d7eaaffe3970da5f77d18f67771a4a8 (diff) | |
download | CMake-cb811d11cee1e2873cc2bf506cd081769e894ac3.zip CMake-cb811d11cee1e2873cc2bf506cd081769e894ac3.tar.gz CMake-cb811d11cee1e2873cc2bf506cd081769e894ac3.tar.bz2 |
Help: Improve description of modules
Diffstat (limited to 'Modules/CheckLanguage.cmake')
-rw-r--r-- | Modules/CheckLanguage.cmake | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Modules/CheckLanguage.cmake b/Modules/CheckLanguage.cmake index efa88bd..d096849 100644 --- a/Modules/CheckLanguage.cmake +++ b/Modules/CheckLanguage.cmake @@ -13,11 +13,11 @@ Usage: check_language(<lang>) -where <lang> is a language that may be passed to enable_language() -such as "Fortran". If CMAKE_<lang>_COMPILER is already defined the -check does nothing. Otherwise it tries enabling the language in a -test project. The result is cached in CMAKE_<lang>_COMPILER as the -compiler that was found, or NOTFOUND if the language cannot be +where ``<lang>`` is a language that may be passed to :command:`enable_language` +such as ``Fortran``. If :variable:`CMAKE_<LANG>_COMPILER` is already defined +the check does nothing. Otherwise it tries enabling the language in a +test project. The result is cached in :variable:`CMAKE_<LANG>_COMPILER` +as the compiler that was found, or ``NOTFOUND`` if the language cannot be enabled. Example: |