mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
4249a1ac51
- 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)
16 lines
815 B
CMake
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)
|