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

This commit is contained in:
Philip Lowman 2009-01-30 03:02:49 -05:00
parent 140403ae62
commit 25325c8f4d
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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