From 272a52578639834870975995e6be4c528f5cb260 Mon Sep 17 00:00:00 2001 From: navarrop Date: Thu, 18 Nov 2010 16:50:30 +0000 Subject: [PATCH] Add more path to find Lua git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8577 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- buildtools/Cmake/Modules/FindLua51Simgrid.cmake | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/buildtools/Cmake/Modules/FindLua51Simgrid.cmake b/buildtools/Cmake/Modules/FindLua51Simgrid.cmake index 4fe6ee044c..d68bb18baa 100644 --- a/buildtools/Cmake/Modules/FindLua51Simgrid.cmake +++ b/buildtools/Cmake/Modules/FindLua51Simgrid.cmake @@ -1,7 +1,7 @@ find_path(HAVE_LUA_H lua.h HINTS $ENV{LD_LIBRARY_PATH} - PATH_SUFFIXES lua/ lua/5.1/ include/ include/lua5.1/ + PATH_SUFFIXES lua/ lua/5.1/ include/ include/lua5.1/ include/lua51 include/lua PATHS /opt /opt/local @@ -11,9 +11,10 @@ find_path(HAVE_LUA_H lua.h ) find_library(HAVE_LUA51_LIB - NAME lua.5.1 lua5.1 + NAME lua.5.1 lua5.1 lua51 lua-5.1 HINTS $ENV{LD_LIBRARY_PATH} + PATH_SUFFIXES lib64 lib PATHS /opt /opt/local -- 2.20.1