diff --git a/CMakeLists.txt b/CMakeLists.txt index f82cce7..446ce84 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -124,9 +124,12 @@ endif() set(THREADS_PREFER_PTHREAD_FLAG ON) find_package(Threads REQUIRED) +set(Boost_NO_BOOST_CMAKE ON) find_package(Boost 1.58 QUIET REQUIRED COMPONENTS chrono filesystem program_options regex serialization system thread) if (NOT (Boost_THREAD_LIBRARY STREQUAL monero_Boost_THREAD_LIBRARY_RELEASE)) + message(STATUS "Found Boost_THREAD_LIBRARY: ${Boost_THREAD_LIBRARY}") + message(STATUS "Found monero_Boost_THREAD_LIBRARY_RELEASE: ${monero_Boost_THREAD_LIBRARY_RELEASE}") message(FATAL_ERROR "Boost libraries for monero build differs from this project") endif()