diff --git a/CMakeLists.txt b/CMakeLists.txt index c52488f94..baaf93302 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -33,7 +33,7 @@ option(ENABLE_DEBUG "Enable debug build" OFF) option(ENABLE_LTO "Enable LTO build" OFF) option(ENABLE_CCACHE "Enable building with CCACHE" OFF) # sccache is not always a drop-in replacement for ccache in practice -option(ENABLE_SCCACHE "Enable building with SCACHE" OFF) +option(ENABLE_SCCACHE "Enable building with SCCACHE" OFF) option(ENABLE_FUNCTIONAL_TESTS "Enable functional tests" OFF) set(CXXSTD 17 CACHE STRING "C++ standard to use for the build") diff --git a/passes/techmap/CMakeLists.txt b/passes/techmap/CMakeLists.txt index cd2353ddd..1f8a1bdc0 100644 --- a/passes/techmap/CMakeLists.txt +++ b/passes/techmap/CMakeLists.txt @@ -47,3 +47,6 @@ target_sources(yosys_passes_techmap INTERFACE ) target_link_libraries(yosys PRIVATE yosys_passes_techmap) + +set(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}) +add_executable(yosys-filterlib filterlib.cc)