mirror of
https://github.com/walterschell/Lua.git
synced 2024-11-10 01:01:46 +00:00
6f99e2d952
- build shared and/or static version controlled by `LUA_ENABLE_SHARED/STATIC` - add alias Lua::Lib which is one of above, controlled by `BUILD_SHARED_LIBS` - exclude the unneeded version if not toplevel
10 lines
252 B
CMake
10 lines
252 B
CMake
@PACKAGE_INIT@
|
|
|
|
include("${CMAKE_CURRENT_LIST_DIR}/LuaTargets.cmake")
|
|
|
|
set_and_check(LUA_INCLUDE_DIR "${PACKAGE_PREFIX_DIR}/include")
|
|
add_library(Lua::Lib ALIAS "Lua::@LUA_EXPORT_LIBRARY@")
|
|
set(LUA_LIBRARIES "Lua::Lib")
|
|
|
|
check_required_components(Lua)
|