mirror of
https://github.com/YosysHQ/yosys
synced 2026-06-26 02:30:37 +00:00
Add option to build without slang
This commit is contained in:
parent
fd2d0ab0f4
commit
ad139b7118
3 changed files with 9 additions and 3 deletions
|
|
@ -17,6 +17,8 @@ FetchContent_Declare(
|
|||
SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/fmt
|
||||
)
|
||||
FetchContent_MakeAvailable(fmt)
|
||||
set(SLANG_USE_MIMALLOC OFF)
|
||||
add_subdirectory(slang)
|
||||
if (NOT YOSYS_WITHOUT_SLANG)
|
||||
set(SLANG_USE_MIMALLOC OFF)
|
||||
add_subdirectory(slang)
|
||||
endif()
|
||||
set(BUILD_SHARED_LIBS "${_old_BUILD_SHARED_LIBS}")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue