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})