mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-12-26 20:31:17 +00:00
Fix build checks for Lua >=5.1 and <5.2.
This commit is contained in:
parent
2688875cbc
commit
96935e8221
@ -233,7 +233,7 @@ if(BUILD_X11)
|
|||||||
endif(X11_FOUND)
|
endif(X11_FOUND)
|
||||||
endif(BUILD_X11)
|
endif(BUILD_X11)
|
||||||
|
|
||||||
pkg_search_module(LUA REQUIRED lua5.1 lua-5.1 lua=5.1)
|
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)
|
||||||
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)
|
||||||
|
Loading…
Reference in New Issue
Block a user