mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-27 19:05:52 +00:00
CMake: handle some conditional compiling
This commit is contained in:
parent
691fbf736a
commit
3900eadde0
7 changed files with 66 additions and 23 deletions
|
@ -1,7 +1,9 @@
|
|||
add_library(yosys_frontends_rpc INTERFACE)
|
||||
if (NOT DISABLE_SPAWN)
|
||||
add_library(yosys_frontends_rpc INTERFACE)
|
||||
|
||||
target_sources(yosys_frontends_rpc INTERFACE
|
||||
rpc_frontend.cc
|
||||
)
|
||||
target_sources(yosys_frontends_rpc INTERFACE
|
||||
rpc_frontend.cc
|
||||
)
|
||||
|
||||
target_link_libraries(yosys PRIVATE yosys_frontends_rpc)
|
||||
target_link_libraries(yosys PRIVATE yosys_frontends_rpc)
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue