Skip to content

Commit

Permalink
[Minor] Add LIB_SUFFIXES needed to detect lua on alpine linux
Browse files Browse the repository at this point in the history
  • Loading branch information
a16bitsysop committed Dec 10, 2020
1 parent 1e23390 commit d39c5f1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Expand Up @@ -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"
Expand All @@ -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"
Expand Down

0 comments on commit d39c5f1

Please sign in to comment.