--- cegui/src/CMakeLists.txt.orig	2016-04-23 18:19:40 UTC
+++ cegui/src/CMakeLists.txt
@@ -99,6 +99,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()
