aboutsummaryrefslogtreecommitdiff
path: root/cmake/FindLuaJit.cmake
diff options
context:
space:
mode:
authorDundar Goc <gocdundar@gmail.com>2022-05-17 15:08:24 +0200
committerDundar Goc <gocdundar@gmail.com>2022-05-17 17:07:45 +0200
commita4c0c0704308ee18e3a23954c07666f36cfbb930 (patch)
tree35564bf974d20d3e3d7e4490f491bcdd209503ac /cmake/FindLuaJit.cmake
parentf49699737c9b24e1af52719974cf3bc770539ef9 (diff)
downloadrneovim-a4c0c0704308ee18e3a23954c07666f36cfbb930.tar.gz
rneovim-a4c0c0704308ee18e3a23954c07666f36cfbb930.tar.bz2
rneovim-a4c0c0704308ee18e3a23954c07666f36cfbb930.zip
revert: "ci: remove mingw job #18580"
This partially reverts commit f8af81445bb48966d54f4a956842d935d009d275. The mingw parts of cmake was removed to see if it was still used (ref: https://github.com/neovim/neovim/pull/18580). It turns out it is, so this will fix that. Closes: https://github.com/neovim/neovim/issues/18597
Diffstat (limited to 'cmake/FindLuaJit.cmake')
-rw-r--r--cmake/FindLuaJit.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/FindLuaJit.cmake b/cmake/FindLuaJit.cmake
index c904347f6a..72795afefd 100644
--- a/cmake/FindLuaJit.cmake
+++ b/cmake/FindLuaJit.cmake
@@ -17,6 +17,8 @@ find_path(LUAJIT_INCLUDE_DIR luajit.h
if(MSVC)
list(APPEND LUAJIT_NAMES lua51)
+elseif(MINGW)
+ list(APPEND LUAJIT_NAMES libluajit libluajit-5.1)
else()
list(APPEND LUAJIT_NAMES luajit-5.1)
endif()