cmake: push cmake away from boost as much as we can

Everything works better without cmake.
This commit is contained in:
moneromooo-monero 2019-05-30 12:11:58 +00:00
parent 5fbfa8a656
commit cb92d5cb2c
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3

View file

@ -875,10 +875,10 @@ if (${BOOST_IGNORE_SYSTEM_PATHS} STREQUAL "ON")
endif()
set(OLD_LIB_SUFFIXES ${CMAKE_FIND_LIBRARY_SUFFIXES})
set(Boost_NO_BOOST_CMAKE ON)
if(STATIC)
if(MINGW)
set(CMAKE_FIND_LIBRARY_SUFFIXES .a)
set(Boost_NO_BOOST_CMAKE ON)
endif()
set(Boost_USE_STATIC_LIBS ON)