Lua/lua-5.4.4/LuaConfig.cmake.in
2022-02-11 18:00:37 +08:00

11 lines
309 B
CMake

@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)