summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author權少 <ljqican@163.com>2023-09-08 17:06:33 (GMT)
committerBrad King <brad.king@kitware.com>2023-09-08 19:34:35 (GMT)
commit7abb6d14ca7a2c88627263ad1f9e720b99c0ae0d (patch)
tree91c507ced1c3a9e587a01829842e5e322934483a
parent91585ad105ff611fbaa507e758a5c9043bb9d142 (diff)
downloadCMake-7abb6d14ca7a2c88627263ad1f9e720b99c0ae0d.zip
CMake-7abb6d14ca7a2c88627263ad1f9e720b99c0ae0d.tar.gz
CMake-7abb6d14ca7a2c88627263ad1f9e720b99c0ae0d.tar.bz2
FindLua{50,51}: Fix preformatted documentation blocks
Avoid duplicate `::`.
-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>