mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-05-07 03:29:08 +08:00
Require Boost 1.64.0 and newer on Linux & OSX due to the Boost::process
library
This commit is contained in:
parent
0d997447b4
commit
4fdcc99d35
@ -234,7 +234,11 @@ if(SLIC3R_STATIC)
|
|||||||
endif()
|
endif()
|
||||||
#set(Boost_DEBUG ON)
|
#set(Boost_DEBUG ON)
|
||||||
# set(Boost_COMPILER "-vc120")
|
# set(Boost_COMPILER "-vc120")
|
||||||
find_package(Boost REQUIRED COMPONENTS system filesystem thread log locale regex)
|
if(NOT WIN32)
|
||||||
|
# boost::process was introduced first in version 1.64.0
|
||||||
|
set(MINIMUM_BOOST_VERSION "1.64.0")
|
||||||
|
endif()
|
||||||
|
find_package(Boost ${MINIMUM_BOOST_VERSION} REQUIRED COMPONENTS system filesystem thread log locale regex)
|
||||||
if(Boost_FOUND)
|
if(Boost_FOUND)
|
||||||
include_directories(${Boost_INCLUDE_DIRS})
|
include_directories(${Boost_INCLUDE_DIRS})
|
||||||
if (APPLE)
|
if (APPLE)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user