From 0f0452d50c2707e0e0801f04170bc2ca201469b6 Mon Sep 17 00:00:00 2001 From: psychocrypt Date: Tue, 7 Aug 2018 20:52:57 +0200 Subject: [PATCH] my fixes --- CMakeLists.txt | 2 -- src/common/CMakeLists.txt | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7eae4c8e..4b2e004b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -178,8 +178,6 @@ if(PER_BLOCK_CHECKPOINT) add_definitions("-DPER_BLOCK_CHECKPOINT") endif() -add_definitions(-DFMT_EXTENDED_COLORS) - list(INSERT CMAKE_MODULE_PATH 0 "${CMAKE_SOURCE_DIR}/cmake") diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt index cce44ee5..057ac9a0 100644 --- a/src/common/CMakeLists.txt +++ b/src/common/CMakeLists.txt @@ -107,10 +107,10 @@ target_link_libraries(common ${Boost_THREAD_LIBRARY} ${Boost_REGEX_LIBRARY} ${Boost_CHRONO_LIBRARY} + fmt::fmt-header-only PRIVATE ${OPENSSL_LIBRARIES} - ${EXTRA_LIBRARIES} - fmt::fmt-header-only) + ${EXTRA_LIBRARIES}) #monero_install_headers(common # ${common_headers})