Files
gentoo/dev-lua/toluapp/files/toluapp-1.0.93_p20190513-lua-version.patch
Marek Szuba 3af402bb34 dev-lua/toluapp: migrate to lua-single.eclass
Does not support Lua versions newer than 5.1 so didn't even bother
adapting this to multi-impl.

Signed-off-by: Marek Szuba <marecki@gentoo.org>
2020-10-13 18:47:34 +02:00

12 lines
288 B
Diff

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -8,7 +8,7 @@
cmake_minimum_required ( VERSION 2.8 )
include ( cmake/dist.cmake )
-find_package ( Lua REQUIRED )
+find_package ( Lua ${LUA_VERSION} EXACT REQUIRED )
include_directories ( include src/lib ${LUA_INCLUDE_DIR} )
# Build lib