From 7cd1e0495122847611b17a8d1f007d97a05b288c Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Sat, 28 Sep 2019 12:33:45 +0200 Subject: Fix issue with latest boost on macOS, fixes #322 --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 67b0c18b..e0e578df 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,6 +12,10 @@ option(STATIC_BUILD "Create static build" OFF) option(EXTERNAL_CHIPDB "Create build with pre-built chipdb binaries" OFF) option(SERIALIZE_CHIPDB "Never build chipdb in parallel to reduce peak memory use" ON) +if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin") + set(Boost_NO_BOOST_CMAKE ON) +endif() + set(link_param "") if (STATIC_BUILD) set(Boost_USE_STATIC_LIBS ON) -- cgit v1.2.3