From: José Fonseca Date: Tue, 28 May 2013 11:12:31 +0000 (+0100) Subject: libbacktrace: Fix out of source builds. X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=d4241fd80369b3c695bb05f474d27fb94477c90e;p=apitrace libbacktrace: Fix out of source builds. Must include path for generated headers. --- diff --git a/thirdparty/libbacktrace/CMakeLists.txt b/thirdparty/libbacktrace/CMakeLists.txt index 7078780..0902f44 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)