diff options
author | Philip Lowman <philip@yhbt.com> | 2009-01-30 08:02:49 (GMT) |
---|---|---|
committer | Philip Lowman <philip@yhbt.com> | 2009-01-30 08:02:49 (GMT) |
commit | 25325c8f4d9e77f4068a94780646da62b2b2a591 (patch) | |
tree | b8c5d7ad3a9fd25c69d176a208e39199785b8bd8 /Modules | |
parent | 140403ae625eb72c13fa488384f37b8305dd0fb7 (diff) | |
download | CMake-25325c8f4d9e77f4068a94780646da62b2b2a591.zip CMake-25325c8f4d9e77f4068a94780646da62b2b2a591.tar.gz CMake-25325c8f4d9e77f4068a94780646da62b2b2a591.tar.bz2 |
BUG: Fixes detection of lua libraries installed from FreeBSD ports (Issue #8421)
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/FindLua50.cmake | 2 | ||||
-rw-r--r-- | Modules/FindLua51.cmake | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Modules/FindLua50.cmake b/Modules/FindLua50.cmake index 6da7aa1..6d952c4 100644 --- a/Modules/FindLua50.cmake +++ b/Modules/FindLua50.cmake @@ -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 diff --git a/Modules/FindLua51.cmake b/Modules/FindLua51.cmake index 5f50ec2..2be4a01 100644 --- a/Modules/FindLua51.cmake +++ b/Modules/FindLua51.cmake @@ -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 |