aboutsummaryrefslogtreecommitdiff
path: root/external
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2019-04-15 09:22:27 +0200
committerRiccardo Spagni <ric@spagni.net>2019-04-15 09:22:27 +0200
commit16b7665533f3a7512fd5a9d16f17c32508870a2b (patch)
tree048fdc0b04ffb5c120d34571bcbc7508f5e457f4 /external
parentMerge pull request #5408 (diff)
parentFix linker issues using easylogging (diff)
downloadmonero-16b7665533f3a7512fd5a9d16f17c32508870a2b.tar.xz
Merge pull request #5417
8df82707 Fix linker issues using easylogging (Martijn Otto)
Diffstat (limited to 'external')
-rw-r--r--external/easylogging++/CMakeLists.txt4
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)