mirror of
https://github.com/weechat/weechat.git
synced 2026-07-01 23:36:37 +02:00
Backtrace feature is shipped by an external library on FreeBSD (and maybe others)
Link against that library if installed
This commit is contained in:
@@ -42,6 +42,12 @@ IF(${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD")
|
||||
LIST(APPEND EXTRA_LIBS "utf8")
|
||||
ENDIF(${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD")
|
||||
|
||||
IF(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
|
||||
IF(HAVE_BACKTRACE)
|
||||
LIST(APPEND EXTRA_LIBS "execinfo")
|
||||
ENDIF(HAVE_BACKTRACE)
|
||||
ENDIF(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
|
||||
|
||||
ADD_EXECUTABLE(${EXECUTABLE} ${WEECHAT_CURSES_SRC})
|
||||
|
||||
INCLUDE_DIRECTORIES(.. ../../core ../../plugins)
|
||||
|
||||
Reference in New Issue
Block a user