diff options
author | José Fonseca <jfonseca@vmware.com> | 2014-06-25 13:46:35 +0100 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2014-06-25 13:46:35 +0100 |
commit | c56b9acc6abcae465b916f6ebafa3a282d1f36fc (patch) | |
tree | a4a0a04879c4b48f23eddc33fb58ba8396143dd7 /thirdparty/libbacktrace | |
parent | e11baf1cb0a60855c975374890c497e3e5bbe4ab (diff) |
cmake: Refactor all convenience library generation into a function.
Diffstat (limited to 'thirdparty/libbacktrace')
-rw-r--r-- | thirdparty/libbacktrace/CMakeLists.txt | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/thirdparty/libbacktrace/CMakeLists.txt b/thirdparty/libbacktrace/CMakeLists.txt index 26604200..fed008e2 100644 --- a/thirdparty/libbacktrace/CMakeLists.txt +++ b/thirdparty/libbacktrace/CMakeLists.txt @@ -133,7 +133,7 @@ include_directories (BEFORE include_directories ( auxincl ) -add_library (backtrace STATIC EXCLUDE_FROM_ALL +add_convenience_library (backtrace EXCLUDE_FROM_ALL ${BACKTRACE_FILE} ${FORMAT_FILE} ${VIEW_FILE} @@ -143,9 +143,6 @@ add_library (backtrace STATIC EXCLUDE_FROM_ALL print.c state.c ) -set_target_properties (backtrace PROPERTIES - COMPILE_FLAGS "${CMAKE_SHARED_LIBRARY_C_FLAGS}" -) set (ENABLE_LIBBACKTRACE_TEST false CACHE BOOL "Enable libbacktrace testing") if (ENABLE_LIBBACKTRACE_TEST) |