1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-11-15 17:47:09 +00:00

Hopefully a lua build check which finally works on all distros

This commit is contained in:
Pavel Labath 2013-02-23 09:51:49 +01:00
parent 318324fc63
commit 459dd4109c

View File

@ -233,7 +233,7 @@ if(BUILD_X11)
endif(X11_FOUND) endif(X11_FOUND)
endif(BUILD_X11) endif(BUILD_X11)
pkg_search_module(LUA REQUIRED lua>=5.1 lua<5.2 lua-5.1>=5.1 lua-5.2<5.2 lua5.1>=5.1 lua5.1<=5.2) pkg_search_module(LUA REQUIRED lua5.1 lua-5.1 lua<=5.1.99)
set(conky_libs ${conky_libs} ${LUA_LIBRARIES}) set(conky_libs ${conky_libs} ${LUA_LIBRARIES})
set(conky_includes ${conky_includes} ${LUA_INCLUDE_DIRS}) set(conky_includes ${conky_includes} ${LUA_INCLUDE_DIRS})
if(BUILD_LUA_CAIRO) if(BUILD_LUA_CAIRO)