3f852fbc8f
Sync patches with what has been committed upstream (kudos to Amit)
22 lines
667 B
Plaintext
22 lines
667 B
Plaintext
$OpenBSD: patch-Modules_FindLua51_cmake,v 1.4 2012/12/05 11:32:04 dcoppa Exp $
|
|
--- Modules/FindLua51.cmake.orig Tue Nov 27 14:26:32 2012
|
|
+++ Modules/FindLua51.cmake Wed Dec 5 10:22:21 2012
|
|
@@ -28,7 +28,7 @@
|
|
find_path(LUA_INCLUDE_DIR lua.h
|
|
HINTS
|
|
ENV LUA_DIR
|
|
- PATH_SUFFIXES include/lua51 include/lua5.1 include/lua include
|
|
+ PATH_SUFFIXES include/lua51 include/lua5.1 include/lua-5.1 include/lua include
|
|
PATHS
|
|
~/Library/Frameworks
|
|
/Library/Frameworks
|
|
@@ -39,7 +39,7 @@ find_path(LUA_INCLUDE_DIR lua.h
|
|
)
|
|
|
|
find_library(LUA_LIBRARY
|
|
- NAMES lua51 lua5.1 lua-5.1 lua
|
|
+ NAMES lua5.1 lua51 lua-5.1 lua
|
|
HINTS
|
|
ENV LUA_DIR
|
|
PATH_SUFFIXES lib
|