aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRui Abreu Ferreira <raf-ep@gmx.com>2016-05-08 03:06:46 +0100
committerRui Abreu Ferreira <raf-ep@gmx.com>2016-05-19 17:55:19 +0100
commitd5c89b18968e9f400183c98493faa5a25f6f07df (patch)
treec4014c12255f4864c24399239f63208a90615ae7 /src
parent509089d0533c250d1a1268eb637d3413209b1da6 (diff)
downloadrneovim-d5c89b18968e9f400183c98493faa5a25f6f07df.tar.gz
rneovim-d5c89b18968e9f400183c98493faa5a25f6f07df.tar.bz2
rneovim-d5c89b18968e9f400183c98493faa5a25f6f07df.zip
cmake: Allow building without Luajit
By default Neovim searched a Luajit instalation and linked against the luajit library. In practice Neovim only requires luajit to run the unit tests. All other targets only require lua and the correct lua modules. This commit: 1. Remove the strict dependency on Luajit 2. Makes the unittest target depend on the lua 'ffi' module. If the module is not available the target is not enabled and a message is displayed.
Diffstat (limited to 'src')
-rw-r--r--src/nvim/CMakeLists.txt1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/nvim/CMakeLists.txt b/src/nvim/CMakeLists.txt
index 6b2ce08d36..172643091a 100644
--- a/src/nvim/CMakeLists.txt
+++ b/src/nvim/CMakeLists.txt
@@ -231,7 +231,6 @@ endif()
list(APPEND NVIM_LINK_LIBRARIES
${LIBUV_LIBRARIES}
${MSGPACK_LIBRARIES}
- ${LUAJIT_LIBRARIES}
${LIBVTERM_LIBRARIES}
${LIBTERMKEY_LIBRARIES}
${UNIBILIUM_LIBRARIES}