summaryrefslogtreecommitdiffstats
path: root/Modules/FindLua50.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/FindLua50.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/FindLua50.cmake')
-rw-r--r--Modules/FindLua50.cmake2
1 files changed, 1 insertions, 1 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