MinGW: Add libluajit-5.1 lib name to FindLuaJit

This commit is contained in:
Rui Abreu Ferreira 2015-10-17 01:06:04 +01:00 committed by Seth Jackson
parent 0ee33981e8
commit 655f1b7513

View File

@ -34,7 +34,7 @@ endif()
if(MSVC)
list(APPEND LUAJIT_NAMES lua51)
elseif(MINGW)
list(APPEND LUAJIT_NAMES libluajit)
list(APPEND LUAJIT_NAMES libluajit libluajit-5.1)
else()
list(APPEND LUAJIT_NAMES luajit-5.1)
endif()