diff options
author | Martijn Otto <git@martijnotto.nl> | 2019-04-10 11:37:02 +0200 |
---|---|---|
committer | Martijn Otto <git@martijnotto.nl> | 2019-04-10 11:37:02 +0200 |
commit | 8df827075f5ac2c570d2cfa7695547132d347fbe (patch) | |
tree | dc44684acf6353fdf7c4075f7e9eb9a58bb2e1e0 /external | |
parent | Merge pull request #5364 (diff) | |
download | monero-8df827075f5ac2c570d2cfa7695547132d347fbe.tar.xz |
Fix linker issues using easylogging
Diffstat (limited to 'external')
-rw-r--r-- | external/easylogging++/CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/external/easylogging++/CMakeLists.txt b/external/easylogging++/CMakeLists.txt index 8287024c2..35fb86552 100644 --- a/external/easylogging++/CMakeLists.txt +++ b/external/easylogging++/CMakeLists.txt @@ -33,6 +33,7 @@ project(easylogging CXX) SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") find_package(Threads) +find_package(Backtrace) add_library(easylogging easylogging++.cc) @@ -41,7 +42,8 @@ include_directories("${CMAKE_CURRENT_SOURCE_DIR}") include_directories("${CMAKE_CURRENT_BINARY_DIR}") target_link_libraries(easylogging PRIVATE - ${CMAKE_THREAD_LIBS_INIT}) + ${CMAKE_THREAD_LIBS_INIT} + ${Backtrace_LIBRARIES}) # GUI/libwallet install target if (BUILD_GUI_DEPS) |