cmake-lua/lua-5.4.4/LuaConfig.cmake.in

11 lines
309 B
CMake
Raw Normal View History

2022-02-11 16:26:19 +08:00
@PACKAGE_INIT@
include("${CMAKE_CURRENT_LIST_DIR}/LuaTargets.cmake")
set_and_check(LUA_INCLUDE_DIR "${PACKAGE_PREFIX_DIR}/include")
set_and_check(LUA_LIBRARY "${PACKAGE_PREFIX_DIR}/lib/liblua.a")
set(LUA_LIBRARIES "${LUA_LIBRARY}")
add_library(Lua::Library ALIAS lua_static)
check_required_components(Lua)