summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-09-11 12:11:17 (GMT)
committerKitware Robot <kwrobot@kitware.com>2023-09-11 12:11:40 (GMT)
commit4bd020d952a47f74785ed9d3dc13b66fc7c613d2 (patch)
treeb850990add28cd57dc10629521e1d7e9a70a3ce4
parent3fc4d8b457eec01ba18e61344d365dfda486ea7e (diff)
parent7abb6d14ca7a2c88627263ad1f9e720b99c0ae0d (diff)
downloadCMake-4bd020d952a47f74785ed9d3dc13b66fc7c613d2.zip
CMake-4bd020d952a47f74785ed9d3dc13b66fc7c613d2.tar.gz
CMake-4bd020d952a47f74785ed9d3dc13b66fc7c613d2.tar.bz2
Merge topic 'Fix-FindLua50-and-FindLua51-doc'
7abb6d14ca FindLua{50,51}: Fix preformatted documentation blocks Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8784
-rw-r--r--Modules/FindLua50.cmake15
-rw-r--r--Modules/FindLua51.cmake13
2 files changed, 5 insertions, 23 deletions
diff --git a/Modules/FindLua50.cmake b/Modules/FindLua50.cmake
index 0575caa..6ba9008 100644
--- a/Modules/FindLua50.cmake
+++ b/Modules/FindLua50.cmake
@@ -5,28 +5,19 @@
FindLua50
---------
-
-
Locate Lua library.
-This module defines::
-::
+This module defines::
LUA50_FOUND, if false, do not try to link to Lua
LUA_LIBRARIES, both lua and lualib
LUA_INCLUDE_DIR, where to find lua.h and lualib.h (and probably lauxlib.h)
-
-
-Note that the expected include convention is
-
-::
+Note that the expected include convention is::
#include "lua.h"
-and not
-
-::
+and not::
#include <lua/lua.h>
diff --git a/Modules/FindLua51.cmake b/Modules/FindLua51.cmake
index 283a3eb..405a7a7 100644
--- a/Modules/FindLua51.cmake
+++ b/Modules/FindLua51.cmake
@@ -5,29 +5,20 @@
FindLua51
---------
-
-
Locate Lua library.
This module defines::
-::
-
LUA51_FOUND, if false, do not try to link to Lua
LUA_LIBRARIES
LUA_INCLUDE_DIR, where to find lua.h
LUA_VERSION_STRING, the version of Lua found (since CMake 2.8.8)
-
-Note that the expected include convention is
-
-::
+Note that the expected include convention is::
#include "lua.h"
-and not
-
-::
+and not::
#include <lua/lua.h>