Blob Blame History Raw
Index: neovim-0.5.0/CMakeLists.txt
===================================================================
--- neovim-0.5.0.orig/CMakeLists.txt
+++ neovim-0.5.0/CMakeLists.txt
@@ -413,7 +413,7 @@ endif()
 option(PREFER_LUA "Prefer Lua over LuaJIT in the nvim executable." OFF)
 
 if(PREFER_LUA)
-  find_package(Lua 5.1 REQUIRED)
+  find_package(Lua 5.1 EXACT 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.