diff options
author | Michael Hirsch <scivision@users.noreply.gitlab.kitware.com> | 2022-08-02 21:20:07 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-08-03 13:56:38 (GMT) |
commit | 3e2094fb9b35af4c262959117d203644d8f396ca (patch) | |
tree | ce7906b93ca20ec11a941a3ddbde3cb712d6b29e | |
parent | a9d0bcc71ec2c79c6d75b143e5c053f0b7ea01f1 (diff) | |
download | CMake-3e2094fb9b35af4c262959117d203644d8f396ca.zip CMake-3e2094fb9b35af4c262959117d203644d8f396ca.tar.gz CMake-3e2094fb9b35af4c262959117d203644d8f396ca.tar.bz2 |
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.cmake | 29 |
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 |