diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2019-09-28 12:33:45 +0200 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2019-09-28 12:33:45 +0200 |
commit | 7cd1e0495122847611b17a8d1f007d97a05b288c (patch) | |
tree | 0d8dda5bcbd0fb7275047c84bd7d5e94a5521bb0 /CMakeLists.txt | |
parent | 30e3c8469bce80e06ba09fca1aa9211927006d34 (diff) | |
download | nextpnr-7cd1e0495122847611b17a8d1f007d97a05b288c.tar.gz nextpnr-7cd1e0495122847611b17a8d1f007d97a05b288c.tar.bz2 nextpnr-7cd1e0495122847611b17a8d1f007d97a05b288c.zip |
Fix issue with latest boost on macOS, fixes #322
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
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) |