aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/modules/FindLUA.cmake
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2012-08-25 19:12:03 +0000
committerEvan Huus <eapache@gmail.com>2012-08-25 19:12:03 +0000
commit5e4108c347eebc394e566d67703aac2b3cd546be (patch)
tree82ec9588eeeb3579362b65ae4f9800dc10892b48 /cmake/modules/FindLUA.cmake
parent502b9b06c5dfa493d1fed29c8740fc3edee0b3f7 (diff)
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
Diffstat (limited to 'cmake/modules/FindLUA.cmake')
-rw-r--r--cmake/modules/FindLUA.cmake2
1 files changed, 1 insertions, 1 deletions
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