Have CMake also consider the include path "lua5.2" (note the dot),

since that is where it can be found on recent Ubuntus, and without it
you get a mix of 5.1 includes and 5.2 libraries, which breaks the build.

svn path=/trunk/; revision=44669
This commit is contained in:
Evan Huus 2012-08-25 19:12:03 +00:00
parent 502b9b06c5
commit 5e4108c347
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@
FIND_PATH(LUA_INCLUDE_DIR lua.h
HINTS
$ENV{LUA_DIR}
PATH_SUFFIXES include/lua52 include/lua51 include/lua5.1 include/lua include
PATH_SUFFIXES include/lua52 include/lua5.2 include/lua51 include/lua5.1 include/lua include
PATHS
~/Library/Frameworks
/Library/Frameworks