mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-23 18:38:08 -07:00
In theory this should be multi-impl but upstream does not directly support it, in particular their pkgconfig files do not include the Lua ABI version in their names. For now just keep it simple i.e. stick with the old behaviour of only supporting one implementation at a time. Signed-off-by: Marek Szuba <marecki@gentoo.org>
12 lines
342 B
Diff
12 lines
342 B
Diff
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -107,7 +107,7 @@
|
|
include_directories(${LUAJIT_INCLUDE_DIR})
|
|
link_directories(${LUAJIT_LIBRARIES})
|
|
else (USE_LUAJIT)
|
|
- find_package(Lua REQUIRED)
|
|
+ find_package(Lua ${LUA_VERSION} EXACT REQUIRED)
|
|
include_directories(${LUA_INCLUDE_DIR})
|
|
endif (USE_LUAJIT)
|
|
|