3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-24 01:25:33 +00:00

CMake: handle some conditional compiling

This commit is contained in:
Miodrag Milanovic 2025-02-13 12:53:26 +01:00
parent 691fbf736a
commit 3900eadde0
7 changed files with 66 additions and 23 deletions

View file

@ -44,8 +44,6 @@ target_sources(yosys_kernel INTERFACE
ffmerge.h
fmt.cc
fmt.h
fstdata.cc
fstdata.h
functional.cc
functional.h
hashlib.h
@ -82,4 +80,11 @@ target_sources(yosys_kernel INTERFACE
yw.h
)
if (ENABLE_ZLIB)
target_sources(yosys_kernel INTERFACE
fstdata.cc
fstdata.h
)
endif()
target_link_libraries(yosys PRIVATE yosys_kernel)