BUG: Fixes detection of lua libraries installed from FreeBSD ports (Issue #8421)
This commit is contained in:
parent
140403ae62
commit
25325c8f4d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue