From 5e4108c347eebc394e566d67703aac2b3cd546be Mon Sep 17 00:00:00 2001 From: Evan Huus Date: Sat, 25 Aug 2012 19:12:03 +0000 Subject: [PATCH] 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 --- cmake/modules/FindLUA.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/modules/FindLUA.cmake b/cmake/modules/FindLUA.cmake index 0fda67fb53..2c6bc5ee65 100644 --- a/cmake/modules/FindLUA.cmake +++ b/cmake/modules/FindLUA.cmake @@ -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