3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-07-15 03:35:40 +00:00
yosys/frontends/CMakeLists.txt
Gabriel Somlo 619b8edeb8 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>
2026-07-12 10:45:25 -04:00

13 lines
331 B
CMake

add_subdirectory(aiger)
add_subdirectory(aiger2)
add_subdirectory(ast)
add_subdirectory(blif)
add_subdirectory(json)
add_subdirectory(liberty)
add_subdirectory(rpc)
add_subdirectory(rtlil)
if (NOT (YOSYS_WITH_PKG_DEPS OR YOSYS_WITHOUT_SLANG))
add_subdirectory(slang)
endif()
add_subdirectory(verific)
add_subdirectory(verilog)