diff --git a/lua-5.4.6/CMakeLists.txt b/lua-5.4.6/CMakeLists.txt index 58cf579..d67dfae 100644 --- a/lua-5.4.6/CMakeLists.txt +++ b/lua-5.4.6/CMakeLists.txt @@ -125,6 +125,7 @@ if(LUA_BUILD_BINARY) if (HAVE_READLINE_READLINE_H) target_compile_definitions(lua PRIVATE "LUA_USE_READLINE") target_link_libraries(lua PUBLIC readline) + target_link_libraries(lua PUBLIC tinfo) endif() list(APPEND TARGETS_TO_INSTALL lua) endif()