summaryrefslogtreecommitdiff
path: root/thirdparty/libbacktrace
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2013-05-28 12:12:31 +0100
committerJosé Fonseca <jfonseca@vmware.com>2013-05-28 13:36:16 +0100
commitd4241fd80369b3c695bb05f474d27fb94477c90e (patch)
tree5ca9b2711f67c6fe13a4f476cb3b541b2b220a4c /thirdparty/libbacktrace
parent6f46db0c981e68a3331188314c1bfc2875eb6eee (diff)
libbacktrace: Fix out of source builds.
Must include path for generated headers.
Diffstat (limited to 'thirdparty/libbacktrace')
-rw-r--r--thirdparty/libbacktrace/CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/thirdparty/libbacktrace/CMakeLists.txt b/thirdparty/libbacktrace/CMakeLists.txt
index 7078780f..0902f444 100644
--- a/thirdparty/libbacktrace/CMakeLists.txt
+++ b/thirdparty/libbacktrace/CMakeLists.txt
@@ -125,7 +125,10 @@ configure_file (backtrace-supported.h.in backtrace-supported.h)
configure_file (config.h.in.cmake config.h)
-include_directories ("auxincl")
+include_directories (
+ ${CMAKE_CURRENT_BINARY_DIR}
+ auxincl
+)
add_library (backtrace STATIC EXCLUDE_FROM_ALL
${BACKTRACE_FILE} ${FORMAT_FILE} ${VIEW_FILE} ${ALLOC_FILE}
fileline.c posix.c print.c state.c)