ports/graphics/cegui/files/patch-cegui__src__CMakeLists.txt
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

13 lines
510 B
Text

--- cegui/src/CMakeLists.txt.orig 2013-12-07 13:37:08.000000000 +0400
+++ cegui/src/CMakeLists.txt 2014-05-13 02:26:12.794972513 +0400
@@ -91,6 +91,10 @@
target_link_libraries(${CEGUI_TARGET_NAME} ${CMAKE_DL_LIBS})
endif()
+if (CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
+ target_link_libraries(${CEGUI_TARGET_NAME} execinfo)
+endif()
+
if (APPLE AND CEGUI_BUILD_SHARED_LIBS_WITH_STATIC_DEPENDENCIES)
set_property(TARGET ${CEGUI_TARGET_NAME} APPEND PROPERTY LINK_FLAGS "-framework Carbon")
endif()