1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00
freebsd-ports/graphics/cegui/files/patch-cmake__FindTOLUAPP.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

16 lines
815 B
CMake

--- cmake/FindTOLUAPP.cmake.orig 2014-03-11 21:25:30.000000000 +0100
+++ cmake/FindTOLUAPP.cmake 2014-03-11 21:28:03.000000000 +0100
@@ -3,9 +3,9 @@
################################################################################
include(FindPackageHandleStandardArgs)
-find_path(TOLUAPP_H_PATH NAMES tolua++.h)
-find_library(TOLUAPP_LIB NAMES tolua++5.1 tolua++ toluapp PATH_SUFFIXES dynamic)
-find_library(TOLUAPP_LIB_DBG NAMES tolua++5.1_d tolua++_d toluapp_d PATH_SUFFIXES dynamic)
+find_path(TOLUAPP_H_PATH NAMES tolua++.h PATHS ENV TOLUA_INC)
+find_library(TOLUAPP_LIB NAMES tolua++-5.1 tolua++ toluapp PATH_SUFFIXES dynamic)
+find_library(TOLUAPP_LIB_DBG NAMES tolua++-5.1_d tolua++_d toluapp_d PATH_SUFFIXES dynamic)
mark_as_advanced(TOLUAPP_H_PATH TOLUAPP_LIB TOLUAPP_LIB_DBG)
if (WIN32 OR APPLE)