3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-06-27 02:58:48 +00:00

Add option to build without slang

This commit is contained in:
Miodrag Milanovic 2026-06-18 12:57:10 +02:00
parent fd2d0ab0f4
commit ad139b7118
3 changed files with 9 additions and 3 deletions

View file

@ -26,10 +26,12 @@ yosys_frontend(slang
lib/src/variables.cc
lib/src/variables.h
${CMAKE_CURRENT_BINARY_DIR}/version.h
ENABLE_IF
YOSYS_ENABLE_SLANG
INCLUDE_DIRS
${CMAKE_CURRENT_BINARY_DIR}
LIBRARIES
slang::slang
$<${YOSYS_ENABLE_SLANG}:slang::slang>
fmt::fmt
)