aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3b352188a..076656dee 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -140,6 +140,7 @@ ELSE(ENABLE_LUAJIT MATCHES "ON")
ProcessPackage(LIBLUA LIBRARY "lua"
"lua-5.3"
+ LIB_SUFFIXES "lua5.3"
INCLUDE lua.h INCLUDE_SUFFIXES
"include/lua-5.3"
"include/lua5.3"
@@ -152,6 +153,7 @@ ELSE(ENABLE_LUAJIT MATCHES "ON")
IF (NOT WITH_LIBLUA)
ProcessPackage(LIBLUA LIBRARY "lua"
"lua-5.2"
+ LIB_SUFFIXES "lua5.2"
INCLUDE lua.h INCLUDE_SUFFIXES
"include/lua-5.2"
"include/lua5.2"