FindLua51¶
定位 Lua 函式庫。此模組定義
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)
請注意,預期的包含慣例是
#include "lua.h"
而不是
#include <lua/lua.h>
這是因為 Lua 的位置未標準化,並且可能存在於 lua/ 以外的位置