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

fix to force usage of lua 5.1 when both 5.1 and 5.2 installed

This commit is contained in:
James Morris 2013-01-12 20:26:39 +00:00
parent d0318b94d6
commit 710646c101

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.1>=5.1 lua5.1>=5.1) pkg_search_module(LUA REQUIRED lua5.1 lua-5.1 lua=5.1)
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)