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:
parent
502b9b06c5
commit
5e4108c347
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue