ports/graphics/cegui/files/patch-cmake__FindLua51.cmake
Dmitry Marakasov 4249a1ac51 - OPTIONize. This adds support for more features, fixes multiple hidden dependencies and fixes build in presence of boost-python-libs (won't compile if cegui picks it up). Default options set to match what cegui currently builds with + TINYXML option
- Enable TINYXML by default, needed for games/secretmaryochronicles
- Use canonical names for patches
- Fix freetype detection
- Fix linking with libexecinfo (link it with the library, not just add it to pkgconfig file)
- Add LICENSE

Approved by:	oliver (maintainer)
2014-05-14 03:16:24 +00:00

11 lines
520 B
CMake

--- cmake/FindLua51.cmake.orig 2014-03-11 21:24:37.000000000 +0100
+++ cmake/FindLua51.cmake 2014-03-11 21:23:43.000000000 +0100
@@ -4,7 +4,7 @@
include(FindPackageHandleStandardArgs)
find_path(LUA_H_PATH NAMES lua.h PATH_SUFFIXES lua5.1 lua51 lua)
-find_library(LUA_LIB NAMES lua5.1 lua51 lua PATH_SUFFIXES dynamic)
+find_library(LUA_LIB NAMES lua-5.1 lua51 lua PATH_SUFFIXES dynamic)
find_library(LUA_LIB_DBG NAMES lua5.1_d lua51_d lua_d PATH_SUFFIXES dynamic)
mark_as_advanced(LUA_H_PATH LUA_LIB LUA_LIB_DBG)