diff options
author | Vladimír Vondruš <mosra@centrum.cz> | 2013-05-30 14:47:05 +0100 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2013-05-30 14:47:05 +0100 |
commit | d39581fd05b7569b2acf278e1339d63e5cbf34ff (patch) | |
tree | 4ec146d00b973fe08c966a5b5850e30cef51e8f9 /thirdparty/libbacktrace | |
parent | 5abf560cff33875c638144c14e3330a63adf1ded (diff) |
libbacktrace: Fix compilation failure (issue #137).
It seems that elf.c for some reason includes snappy/config.h instead of
its own generated config.h, possbily due to wrong order of include
directories. Solved it by explicitly including
${CMAKE_CURRENT_BINARY_DIR} before all other paths.
Diffstat (limited to 'thirdparty/libbacktrace')
-rw-r--r-- | thirdparty/libbacktrace/CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/thirdparty/libbacktrace/CMakeLists.txt b/thirdparty/libbacktrace/CMakeLists.txt index d6b4e108..ccad8d6d 100644 --- a/thirdparty/libbacktrace/CMakeLists.txt +++ b/thirdparty/libbacktrace/CMakeLists.txt @@ -123,8 +123,10 @@ configure_file (backtrace-supported.h.in backtrace-supported.h) configure_file (config.h.in.cmake config.h) -include_directories ( +include_directories (BEFORE ${CMAKE_CURRENT_BINARY_DIR} +) +include_directories ( auxincl ) add_library (backtrace STATIC EXCLUDE_FROM_ALL |