mirror of
https://github.com/YosysHQ/yosys
synced 2026-07-17 04:35:44 +00:00
13 lines
467 B
CMake
13 lines
467 B
CMake
# Always force disable GNU Readline, GPL trap library
|
|
set(YOSYS_ENABLE_READLINE OFF CACHE BOOL "" FORCE)
|
|
set(YOSYS_WITHOUT_READLINE ON CACHE BOOL "" FORCE)
|
|
# Silimate fork has Verific in top-level directory
|
|
set(YOSYS_VERIFIC_DIR ${PROJECT_SOURCE_DIR}/verific)
|
|
# Pyosys is the primary interface for the Silimate fork
|
|
set(YOSYS_WITH_PYTHON ON CACHE BOOL "" FORCE)
|
|
|
|
add_library(verific INTERFACE)
|
|
|
|
if (LINUX)
|
|
add_link_options("-Wl,--allow-multiple-definition")
|
|
endif()
|