mirror of
https://github.com/Kitware/CMake.git
synced 2025-12-30 18:29:37 -06:00
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.
This commit is contained in:
committed by
Brad King
parent
a9d0bcc71e
commit
3e2094fb9b
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user