Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix detection of lua.h on linux
authornavarrop <navarrop@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 18 Nov 2010 16:46:23 +0000 (16:46 +0000)
committernavarrop <navarrop@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 18 Nov 2010 16:46:23 +0000 (16:46 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8576 48e7efb5-ca39-0410-a469-dd3cf9ba447f

buildtools/Cmake/Modules/FindLua51Simgrid.cmake

index 38ec42c..4fe6ee0 100644 (file)
@@ -1,7 +1,7 @@
 find_path(HAVE_LUA_H lua.h
     HINTS
     $ENV{LD_LIBRARY_PATH}
-    PATH_SUFFIXES lua/ lua/5.1/ include
+    PATH_SUFFIXES lua/ lua/5.1/ include/ include/lua5.1/
     PATHS
     /opt
     /opt/local