mirror of
https://github.com/neovim/neovim.git
synced 2025-09-30 15:08:35 +00:00
cmake: Allow switching from luajit to lua
This commit is contained in:
@@ -291,8 +291,12 @@ list(APPEND NVIM_LINK_LIBRARIES
|
||||
${LIBTERMKEY_LIBRARIES}
|
||||
${UNIBILIUM_LIBRARIES}
|
||||
${CMAKE_THREAD_LIBS_INIT}
|
||||
${LUAJIT_LIBRARIES}
|
||||
)
|
||||
if(PREFER_LUAJIT)
|
||||
list(APPEND NVIM_LINK_LIBRARIES ${LUAJIT_LIBRARIES})
|
||||
else()
|
||||
list(APPEND NVIM_LINK_LIBRARIES ${LUA_LIBRARIES})
|
||||
endif()
|
||||
|
||||
if(UNIX)
|
||||
list(APPEND NVIM_LINK_LIBRARIES
|
||||
|
Reference in New Issue
Block a user