From efa8155b682b5062cd903ae7cf7c877c86289077 Mon Sep 17 00:00:00 2001 From: Marko Oldenburg Date: Mon, 14 Feb 2022 12:52:46 +0100 Subject: [PATCH] fix error - bad binary format (version mismatch) The problem is that the generated make files end up referencing a mix of lua versions This patch will fix it. --- cmake/FindLua.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/FindLua.cmake b/cmake/FindLua.cmake index a20af5b..0ed5b56 100644 --- a/cmake/FindLua.cmake +++ b/cmake/FindLua.cmake @@ -36,7 +36,7 @@ SET(_POSSIBLE_LUA_INCLUDE include include/lua) #SET(_POSSIBLE_LUA_LIBRARY lua) # Determine possible naming suffixes (there is no standard for this) -SET(_POSSIBLE_SUFFIXES "52" "5.2" "-5.2" "53" "5.3" "-5.3" "") +SET(_POSSIBLE_SUFFIXES "54" "5.4" "-5.4" "53" "5.3" "-5.3" "52" "5.2" "-5.2" "") # Set up possible search names and locations FOREACH(_SUFFIX IN LISTS _POSSIBLE_SUFFIXES)