gentoo-ebuilds/sci-astronomy/celestia/files/celestia-1.7.0-cmake_lua_version-r1.patch
Bernard Cafarelli e564e7279f
sci-astronomy/celestia: add 1.7.0_pre20241231
Closes: https://bugs.gentoo.org/945763
Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
2025-01-07 12:26:26 +01:00

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)