1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/editors/yzis/files/patch-cmake__modules__FindLibLua51.cmake
Ion-Mihai Tetcu f510e59dc7 Fix build with custom PREFIX.
Submitted by:	maintainer
Reported by:	QATty
2009-06-08 11:58:16 +00:00

19 lines
518 B
CMake

--- ./cmake/modules/FindLibLua51.cmake.orig 2008-06-26 01:35:28.000000000 +0300
+++ ./cmake/modules/FindLibLua51.cmake 2009-06-08 14:29:41.309522776 +0300
@@ -28,6 +28,7 @@
FIND_PACKAGE(GNUWIN32)
FIND_PATH(LIBLUA51_INCLUDE_DIR lua.h
+ ${LUA_INCDIR}
${WITH_LUA_HOME}/include
${_libLua51IncDir}/lua51
${_libLua51IncDir}/lua5.1
@@ -41,6 +42,7 @@
FIND_LIBRARY(LIBLUA51_LIBRARIES NAMES lua5.1 lua51 lua
PATHS
+ ${LUA_LIBDIR}
${WITH_LUA_HOME}/lib
${_libLua51LinkDir}
${_libLuaLinkDir}