summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Hirsch <scivision@users.noreply.gitlab.kitware.com>2022-08-02 17:20:07 -0400
committerBrad King <brad.king@kitware.com>2022-08-03 09:56:38 -0400
commit3e2094fb9b35af4c262959117d203644d8f396ca (patch)
treece7906b93ca20ec11a941a3ddbde3cb712d6b29e
parenta9d0bcc71ec2c79c6d75b143e5c053f0b7ea01f1 (diff)
downloadcmake-3e2094fb9b35af4c262959117d203644d8f396ca.tar.gz
FindLua: Improve documentation formatting
Since commit cb811d11ce (Help: Improve description of modules, 2019-04-12, v3.15.0-rc1~210^2) we've had two `::` prompts for the preformatted block listing the result variables. Convert the block to a definition list.
-rw-r--r--Modules/FindLua.cmake29
1 files changed, 16 insertions, 13 deletions
diff --git a/Modules/FindLua.cmake b/Modules/FindLua.cmake
index 32642fe239..b56a7b1c2a 100644
--- a/Modules/FindLua.cmake
+++ b/Modules/FindLua.cmake
@@ -10,19 +10,22 @@ Locate Lua library.
.. versionadded:: 3.18
Support for Lua 5.4.
-This module defines::
-
-::
-
- LUA_FOUND - if false, do not try to link to Lua
- LUA_LIBRARIES - both lua and lualib
- LUA_INCLUDE_DIR - where to find lua.h
- LUA_VERSION_STRING - the version of Lua found
- LUA_VERSION_MAJOR - the major version of Lua
- LUA_VERSION_MINOR - the minor version of Lua
- LUA_VERSION_PATCH - the patch version of Lua
-
-
+This module defines:
+
+``LUA_FOUND``
+ if false, do not try to link to Lua
+``LUA_LIBRARIES``
+ both lua and lualib
+``LUA_INCLUDE_DIR``
+ where to find lua.h
+``LUA_VERSION_STRING``
+ the version of Lua found
+``LUA_VERSION_MAJOR``
+ the major version of Lua
+``LUA_VERSION_MINOR``
+ the minor version of Lua
+``LUA_VERSION_PATCH``
+ the patch version of Lua
Note that the expected include convention is