mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
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>
12 lines
288 B
Diff
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
|