mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-20 00:48:23 +00:00
Closes: https://bugs.gentoo.org/945763 Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
11 lines
285 B
Diff
11 lines
285 B
Diff
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -300,7 +300,7 @@
|
|
if(LUAJIT_FOUND)
|
|
link_libraries(LuaJIT::LuaJIT)
|
|
else()
|
|
- find_package(Lua REQUIRED)
|
|
+ find_package(Lua ${LUA_VERSION} EXACT REQUIRED)
|
|
include(FixLua)
|
|
MakeLuaTarget()
|
|
link_libraries(Lua::Lua)
|