aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2018-11-06 01:48:49 +0100
committerJustin M. Keyes <justinkz@gmail.com>2018-11-06 01:48:49 +0100
commit5320eb57df01e57ace29ab841d6f912bc2c88ade (patch)
tree4990fc6589a8d30c11f60fdef26102a9f156f4ad
parent1347f36494a616d78a3ae086910cc2789bd33c11 (diff)
downloadrneovim-5320eb57df01e57ace29ab841d6f912bc2c88ade.tar.gz
rneovim-5320eb57df01e57ace29ab841d6f912bc2c88ade.tar.bz2
rneovim-5320eb57df01e57ace29ab841d6f912bc2c88ade.zip
build: relax find_package() version spec
We need a way to say "Lua 5.1.x" is required. "5.1 EXACT" does not match 5.1.5, so it's useless. https://github.com/neovim/neovim/pull/9197#discussion_r230962070
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5dab760ae3..26a6529fcd 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -368,7 +368,7 @@ include_directories(SYSTEM ${MSGPACK_INCLUDE_DIRS})
option(PREFER_LUA "Prefer Lua over LuaJIT in the nvim executable." OFF)
if(PREFER_LUA)
- find_package(Lua 5.1 EXACT REQUIRED)
+ find_package(Lua 5.1 REQUIRED)
set(LUA_PREFERRED_INCLUDE_DIRS ${LUA_INCLUDE_DIR})
set(LUA_PREFERRED_LIBRARIES ${LUA_LIBRARIES})
# Passive (not REQUIRED): if LUAJIT_FOUND is not set, nvim-test is skipped.