summaryrefslogtreecommitdiffstats
path: root/Modules/FindLua51.cmake
diff options
context:
space:
mode:
authorPhilip Lowman <philip@yhbt.com>2009-01-30 08:02:49 (GMT)
committerPhilip Lowman <philip@yhbt.com>2009-01-30 08:02:49 (GMT)
commit25325c8f4d9e77f4068a94780646da62b2b2a591 (patch)
treeb8c5d7ad3a9fd25c69d176a208e39199785b8bd8 /Modules/FindLua51.cmake
parent140403ae625eb72c13fa488384f37b8305dd0fb7 (diff)
downloadCMake-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/FindLua51.cmake')
-rw-r--r--Modules/FindLua51.cmake2
1 files changed, 1 insertions, 1 deletions
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