aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2016-05-20 15:30:09 -0400
committerJustin M. Keyes <justinkz@gmail.com>2016-05-20 15:30:09 -0400
commit9d3449852bd35c9283948186d0259c1bf73b8579 (patch)
tree69db8b7b45c0283da00b2d6411cb51c62f65721a /cmake
parent66adc2daeee6d044b17f49553ac1716eadb5c6f1 (diff)
parentd5c89b18968e9f400183c98493faa5a25f6f07df (diff)
downloadrneovim-9d3449852bd35c9283948186d0259c1bf73b8579.tar.gz
rneovim-9d3449852bd35c9283948186d0259c1bf73b8579.tar.bz2
rneovim-9d3449852bd35c9283948186d0259c1bf73b8579.zip
Merge pull request #4779 from equalsraf/tb-lua-without-unittest
Allow building without Luajit
Diffstat (limited to 'cmake')
-rw-r--r--cmake/LuaHelpers.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/LuaHelpers.cmake b/cmake/LuaHelpers.cmake
index b1e67e0ca7..32f7e46a57 100644
--- a/cmake/LuaHelpers.cmake
+++ b/cmake/LuaHelpers.cmake
@@ -8,8 +8,6 @@ function(check_lua_module LUA_PRG_PATH MODULE RESULT_VAR)
RESULT_VARIABLE module_missing
ERROR_QUIET)
if(module_missing)
- message(STATUS
- "[${LUA_PRG_PATH}] The '${MODULE}' lua package is required for building Neovim")
set(${RESULT_VAR} False PARENT_SCOPE)
else()
set(${RESULT_VAR} True PARENT_SCOPE)
@@ -29,6 +27,8 @@ function(check_lua_deps LUA_PRG_PATH MODULES RESULT_VAR)
foreach(module ${MODULES})
check_lua_module(${LUA_PRG_PATH} ${module} has_module)
if(NOT has_module)
+ message(STATUS
+ "[${LUA_PRG_PATH}] The '${module}' lua package is required for building Neovim")
set(${RESULT_VAR} False PARENT_SCOPE)
return()
endif()