diff options
author | stoffu <stoffu@protonmail.ch> | 2017-05-17 10:17:08 +0900 |
---|---|---|
committer | stoffu <stoffu@protonmail.ch> | 2017-05-17 10:17:08 +0900 |
commit | dd8e3266b291d6817d2d680f05f1663ab6869ac2 (patch) | |
tree | 65bb7703f84524ce96bf353189883975f8606ff8 | |
parent | Merge pull request #2015 (diff) | |
download | monero-dd8e3266b291d6817d2d680f05f1663ab6869ac2.tar.xz |
shared libs build (i.e. make debug)
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rw-r--r-- | contrib/epee/src/mlog.cpp | 2 | ||||
-rw-r--r-- | src/mnemonics/CMakeLists.txt | 1 |
3 files changed, 3 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index d584e41c0..a9d6be986 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -338,6 +338,8 @@ if (UNIX AND NOT APPLE) find_package(Threads) endif() +add_definitions(-DAUTO_INITIALIZE_EASYLOGGINGPP) + add_subdirectory(external) # Final setup for miniupnpc diff --git a/contrib/epee/src/mlog.cpp b/contrib/epee/src/mlog.cpp index 7487fdbd2..3be992374 100644 --- a/contrib/epee/src/mlog.cpp +++ b/contrib/epee/src/mlog.cpp @@ -31,8 +31,6 @@ #include <atomic> #include "misc_log_ex.h" -INITIALIZE_EASYLOGGINGPP - #undef MONERO_DEFAULT_LOG_CATEGORY #define MONERO_DEFAULT_LOG_CATEGORY "logging" diff --git a/src/mnemonics/CMakeLists.txt b/src/mnemonics/CMakeLists.txt index c521a0932..269cfe846 100644 --- a/src/mnemonics/CMakeLists.txt +++ b/src/mnemonics/CMakeLists.txt @@ -55,6 +55,7 @@ monero_add_library(mnemonics ${mnemonics_private_headers}) target_link_libraries(mnemonics PUBLIC + easylogging ${Boost_SYSTEM_LIBRARY} PRIVATE ${EXTRA_LIBRARIES}) |