summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJulien Louis <ptitlouis@sysif.net>2008-10-27 00:21:58 +0100
committerJulien Louis <ptitlouis@sysif.net>2008-10-27 00:21:58 +0100
commitdf2ca7b4a61e2e4eba46c8011b8c438111b5a99b (patch)
tree720cdfac9324e1c5773552a9186a97e4af7a687a /src
parentf126daa896f18c25f8c4d4d9c24b33cdab2bed4e (diff)
downloadweechat-df2ca7b4a61e2e4eba46c8011b8c438111b5a99b.zip
Add missing backtrace() function check in cmake
Diffstat (limited to 'src')
-rw-r--r--src/core/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt
index 68edf3ec6..5ba54edf1 100644
--- a/src/core/CMakeLists.txt
+++ b/src/core/CMakeLists.txt
@@ -37,6 +37,7 @@ wee-util.c wee-util.h)
INCLUDE(CheckSymbolExists)
CHECK_INCLUDE_FILES("sys/file.h" HAVE_SYS_FILE_H)
CHECK_SYMBOL_EXISTS(flock "sys/file.h" HAVE_FLOCK)
+CHECK_SYMBOL_EXISTS(backtrace "execinfo.h" HAVE_BACKTRACE)
IF(GNUTLS_FOUND)
INCLUDE_DIRECTORIES(${GNUTLS_INCLUDE_PATH})