freebsd-ports/graphics/cegui/files/patch-cegui__src__CMakeLists.txt
Jung-uk Kim 4579578ea0 Update to 0.8.4.
Approved by:	oliver
2015-05-08 21:42:12 +00:00

13 lines
483 B
Text

--- cegui/src/CMakeLists.txt.orig 2014-07-07 07:06:18 UTC
+++ cegui/src/CMakeLists.txt
@@ -93,6 +93,10 @@ elseif (MINGW)
cegui_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()