summarylogtreecommitdiffstats
path: root/0001-cmake-remove-fixed-setting-of-LUA_COMPILER-to-luac5..patch
blob: 11bc5d30861dff6fb5cd5b234e1ef7740cb34343 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From f1d2bdfebc1ed18dfab2fd58659c337395c31199 Mon Sep 17 00:00:00 2001
From: Noel Kuntze <noel.kuntze@thermi.consulting>
Date: Sun, 10 Jul 2022 18:07:08 +0200
Subject: [PATCH 1/2] cmake: remove fixed setting of LUA_COMPILER to luac5.3

---
 cmake/FindLua.cmake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmake/FindLua.cmake b/cmake/FindLua.cmake
index 6628209..53333f3 100644
--- a/cmake/FindLua.cmake
+++ b/cmake/FindLua.cmake
@@ -54,7 +54,7 @@ FIND_PROGRAM(LUA_EXECUTABLE
 
 # Find the lua executable
 FIND_PROGRAM(LUA_COMPILER
-  NAMES luac5.3 ${_POSSIBLE_LUA_COMPILER}
+  NAMES ${_POSSIBLE_LUA_COMPILER}
 )
 
 # Find the lua header
-- 
2.37.0