From d39c5f1def394cde74d62da325f3f8c2c778eea3 Mon Sep 17 00:00:00 2001 From: Duncan Bellamy Date: Thu, 10 Dec 2020 19:09:28 +0000 Subject: [Minor] Add LIB_SUFFIXES needed to detect lua on alpine linux --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'CMakeLists.txt') 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" -- cgit v1.2.3