mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-15 12:25:55 +08:00
CMake adjustment of MINIMUM_BOOST_VERSION
This commit is contained in:
parent
5d8aa2c59e
commit
d971ed51a5
@ -288,10 +288,9 @@ if(SLIC3R_STATIC)
|
|||||||
endif()
|
endif()
|
||||||
#set(Boost_DEBUG ON)
|
#set(Boost_DEBUG ON)
|
||||||
# set(Boost_COMPILER "-mgw81")
|
# set(Boost_COMPILER "-mgw81")
|
||||||
if(NOT WIN32)
|
# boost::process was introduced first in version 1.64.0,
|
||||||
# boost::beast::detail::base64 was introduced first in version 1.66.0
|
# boost::beast::detail::base64 was introduced first in version 1.66.0
|
||||||
set(MINIMUM_BOOST_VERSION "1.66.0")
|
set(MINIMUM_BOOST_VERSION "1.66.0")
|
||||||
endif()
|
|
||||||
set(_boost_components "system;filesystem;thread;log;locale;regex;chrono;atomic;date_time")
|
set(_boost_components "system;filesystem;thread;log;locale;regex;chrono;atomic;date_time")
|
||||||
find_package(Boost ${MINIMUM_BOOST_VERSION} REQUIRED COMPONENTS ${_boost_components})
|
find_package(Boost ${MINIMUM_BOOST_VERSION} REQUIRED COMPONENTS ${_boost_components})
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user