summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-08-04 13:32:21 (GMT)
committerKitware Robot <kwrobot@kitware.com>2022-08-04 13:32:36 (GMT)
commitdfcbdcb1352be944593e52e4544609aa6cb77153 (patch)
treec81dbf8778d2bb9a9541caf8eab0b0b3f9a075bd
parent9d24d62098d6bf2f9dc4c8e97b39310181443ba3 (diff)
parent3e2094fb9b35af4c262959117d203644d8f396ca (diff)
downloadCMake-dfcbdcb1352be944593e52e4544609aa6cb77153.zip
CMake-dfcbdcb1352be944593e52e4544609aa6cb77153.tar.gz
CMake-dfcbdcb1352be944593e52e4544609aa6cb77153.tar.bz2
Merge topic 'FindLua-docfmt' into release-3.24
3e2094fb9b FindLua: Improve documentation formatting Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7539
-rw-r--r--Modules/FindLua.cmake29
1 files changed, 16 insertions, 13 deletions
diff --git a/Modules/FindLua.cmake b/Modules/FindLua.cmake
index 32642fe..b56a7b1 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