shared libs build (i.e. make debug)

This commit is contained in:
stoffu 2017-05-17 10:17:08 +09:00
parent 694470fae7
commit dd8e3266b2
No known key found for this signature in database
GPG key ID: 41DAB8343A9EC012
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})