summaryrefslogtreecommitdiff
path: root/net-p2p/eiskaltdcpp/files/eiskaltdcpp-2.2.10-cmake_lua_version.patch
blob: 2cbfb247b5896a9009ca50878467664613d88ce2 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -120,7 +120,7 @@
 endif (XATTR_FOUND)
 
 if (LUA_SCRIPT)
-    find_package (Lua REQUIRED)
+    find_package (Lua ${LUA_VERSION} EXACT REQUIRED)
     add_definitions ( -DLUA_SCRIPT )
     message (STATUS "Building with Lua scripts support")
 else (LUA_SCRIPT)