diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2020-07-23 18:40:54 +0200 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2020-07-23 18:40:54 +0200 |
commit | 6bb457be69af2e27e48ebbd48e8c3a32e114b0f2 (patch) | |
tree | a5ad60e96650d92a94142d702b525759edf4f0a4 | |
parent | 8f2b707d026597018333ac60e707e5ab78c25a91 (diff) | |
download | nextpnr-6bb457be69af2e27e48ebbd48e8c3a32e114b0f2.tar.gz nextpnr-6bb457be69af2e27e48ebbd48e8c3a32e114b0f2.tar.bz2 nextpnr-6bb457be69af2e27e48ebbd48e8c3a32e114b0f2.zip |
Needed by python lib itself for static
-rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 9591c216..a7f7eefa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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() |