mirror of
https://github.com/YosysHQ/yosys
synced 2026-07-14 19:25:40 +00:00
CMake: slang: honor YOSYS_WITHOUT_SLANG flag
When `YOSYS_WITHOUT_SLANG` (or, more recently, `YOSYS_WITH_PKG_DEPS`) are enabled, do not attempt to build slang frontend. This allows for successful configuration and build with disabled slang when the vendored subrepo is also missing. Signed-off-by: Gabriel Somlo <gsomlo@gmail.com>
This commit is contained in:
parent
2b0493e022
commit
619b8edeb8
1 changed files with 3 additions and 1 deletions
|
|
@ -6,6 +6,8 @@ add_subdirectory(json)
|
|||
add_subdirectory(liberty)
|
||||
add_subdirectory(rpc)
|
||||
add_subdirectory(rtlil)
|
||||
add_subdirectory(slang)
|
||||
if (NOT (YOSYS_WITH_PKG_DEPS OR YOSYS_WITHOUT_SLANG))
|
||||
add_subdirectory(slang)
|
||||
endif()
|
||||
add_subdirectory(verific)
|
||||
add_subdirectory(verilog)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue