1
0
mirror of https://github.com/YosysHQ/nextpnr.git synced 2026-04-09 22:48:06 +00:00

On macOS -static flag not needed just list of .a files

This commit is contained in:
Miodrag Milanovic
2018-09-03 19:01:56 +02:00
parent b8db177612
commit e7fe046e57

View File

@@ -11,7 +11,9 @@ option(STATIC_BUILD "Create static build" OFF)
set(link_param "")
if (STATIC_BUILD)
set(Boost_USE_STATIC_LIBS ON)
set(link_param "-static")
if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
set(link_param "-static")
endif()
endif()
# List of families to build