Merge pull request #2032

dd8e3266 shared libs build (i.e. make debug) (stoffu)
This commit is contained in:
Riccardo Spagni 2017-05-30 21:21:36 +02:00
commit 9ea7fbed8a
No known key found for this signature in database
GPG key ID: 55432DF31CCD4FCD
3 changed files with 3 additions and 2 deletions

View file

@ -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

View file

@ -31,8 +31,6 @@
#include <atomic>
#include "misc_log_ex.h"
INITIALIZE_EASYLOGGINGPP
#undef MONERO_DEFAULT_LOG_CATEGORY
#define MONERO_DEFAULT_LOG_CATEGORY "logging"

View file

@ -55,6 +55,7 @@ monero_add_library(mnemonics
${mnemonics_private_headers})
target_link_libraries(mnemonics
PUBLIC
easylogging
${Boost_SYSTEM_LIBRARY}
PRIVATE
${EXTRA_LIBRARIES})