Commit 2e52fa39 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Look for lua5.1

parent 69ef4897
......@@ -13,6 +13,9 @@ if (NOT Lua_SEARCHED)
set(Lua_FOUND FALSE CACHE INTERNAL "")
pkg_check_modules(Lua lua>=5.1 lua5.1)
if (NOT Lua_FOUND)
pkg_check_modules(Lua lua5.1)
endif (NOT Lua_FOUND)
if (NOT Lua_FOUND)
find_library( Lua_LIBRARY NAMES lua5.1 lua51 lua)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment