Commit 25325c8f authored by Philip Lowman's avatar Philip Lowman

BUG: Fixes detection of lua libraries installed from FreeBSD ports (Issue #8421)

parent 140403ae
......@@ -28,7 +28,7 @@ FIND_PATH(LUA_INCLUDE_DIR lua.h
)
FIND_LIBRARY(LUA_LIBRARY_lua
NAMES lua50 lua5.0 lua5 lua
NAMES lua50 lua5.0 lua-5.0 lua5 lua
HINTS
$ENV{LUA_DIR}
PATH_SUFFIXES lib64 lib
......
......@@ -28,7 +28,7 @@ FIND_PATH(LUA_INCLUDE_DIR lua.h
)
FIND_LIBRARY(LUA_LIBRARY
NAMES lua51 lua5.1 lua
NAMES lua51 lua5.1 lua-5.1 lua
HINTS
$ENV{LUA_DIR}
PATH_SUFFIXES lib64 lib
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment