aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiodrag Milanovic <mmicko@gmail.com>2019-09-28 12:33:45 +0200
committerMiodrag Milanovic <mmicko@gmail.com>2019-09-28 12:33:45 +0200
commit7cd1e0495122847611b17a8d1f007d97a05b288c (patch)
tree0d8dda5bcbd0fb7275047c84bd7d5e94a5521bb0
parent30e3c8469bce80e06ba09fca1aa9211927006d34 (diff)
downloadnextpnr-7cd1e0495122847611b17a8d1f007d97a05b288c.tar.gz
nextpnr-7cd1e0495122847611b17a8d1f007d97a05b288c.tar.bz2
nextpnr-7cd1e0495122847611b17a8d1f007d97a05b288c.zip
Fix issue with latest boost on macOS, fixes #322
-rw-r--r--CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
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)