FindLuaΒΆ
Locate Lua library.
New in version 3.18: Support for Lua 5.4.
This module defines:
LUA_FOUNDif false, do not try to link to Lua
LUA_LIBRARIESboth lua and lualib
LUA_INCLUDE_DIRwhere to find lua.h
LUA_VERSION_STRINGthe version of Lua found
LUA_VERSION_MAJORthe major version of Lua
LUA_VERSION_MINORthe minor version of Lua
LUA_VERSION_PATCHthe patch version of Lua
Note that the expected include convention is
#include "lua.h"
and not
#include <lua/lua.h>
This is because, the lua location is not standardized and may exist in locations other than lua/