1
0
mirror of https://github.com/YosysHQ/nextpnr.git synced 2026-02-05 08:04:56 +00:00

Needed by python lib itself for static

This commit is contained in:
Miodrag Milanovic
2020-07-23 18:40:54 +02:00
parent 8f2b707d02
commit 6bb457be69

View File

@@ -48,6 +48,11 @@ if (STATIC_BUILD)
else()
set(CMAKE_FIND_LIBRARY_SUFFIXES ".a" ".so")
set(link_param "-static")
if (BUILD_PYTHON)
find_package(ZLIB)
find_package(EXPAT)
find_package(Threads)
endif()
endif()
endif()