cmake: push cmake away from boost as much as we can
Everything works better without cmake.
This commit is contained in:
parent
5fbfa8a656
commit
cb92d5cb2c
|
@ -875,10 +875,10 @@ if (${BOOST_IGNORE_SYSTEM_PATHS} STREQUAL "ON")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set(OLD_LIB_SUFFIXES ${CMAKE_FIND_LIBRARY_SUFFIXES})
|
set(OLD_LIB_SUFFIXES ${CMAKE_FIND_LIBRARY_SUFFIXES})
|
||||||
|
set(Boost_NO_BOOST_CMAKE ON)
|
||||||
if(STATIC)
|
if(STATIC)
|
||||||
if(MINGW)
|
if(MINGW)
|
||||||
set(CMAKE_FIND_LIBRARY_SUFFIXES .a)
|
set(CMAKE_FIND_LIBRARY_SUFFIXES .a)
|
||||||
set(Boost_NO_BOOST_CMAKE ON)
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set(Boost_USE_STATIC_LIBS ON)
|
set(Boost_USE_STATIC_LIBS ON)
|
||||||
|
|
Loading…
Reference in New Issue