From 96935e8221ec6b7b83aa8b5f9ad13c331217511c Mon Sep 17 00:00:00 2001 From: Daniel Pielmeier Date: Tue, 29 Jan 2013 10:57:40 -0800 Subject: [PATCH] Fix build checks for Lua >=5.1 and <5.2. --- cmake/ConkyPlatformChecks.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/ConkyPlatformChecks.cmake b/cmake/ConkyPlatformChecks.cmake index 7d36728e..06a99b77 100644 --- a/cmake/ConkyPlatformChecks.cmake +++ b/cmake/ConkyPlatformChecks.cmake @@ -233,7 +233,7 @@ if(BUILD_X11) endif(X11_FOUND) 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_includes ${conky_includes} ${LUA_INCLUDE_DIRS}) if(BUILD_LUA_CAIRO)