Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbubnikv <bubnikv@gmail.com>2019-05-06 19:30:59 +0300
committerbubnikv <bubnikv@gmail.com>2019-05-06 19:30:59 +0300
commit4fdcc99d35e7a20c9f76e870583dc4aec4152156 (patch)
tree96c8348eb866d9c69ccaf462d2af1e5ae604d82b /CMakeLists.txt
parent0d997447b42dfda7ef9b5c8c407de0e5b687eced (diff)
Require Boost 1.64.0 and newer on Linux & OSX due to the Boost::process
library
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3e59090e3..9477f68d8 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -234,7 +234,11 @@ if(SLIC3R_STATIC)
endif()
#set(Boost_DEBUG ON)
# 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)
include_directories(${Boost_INCLUDE_DIRS})
if (APPLE)