nextpnr/fpga_interchange/family.cmake
Keith Rothman a0bd313139 Add FPGA interchange XDC parser.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2021-02-12 10:31:04 -08:00

14 lines
435 B
CMake

find_package(TCL)
if(NOT ${TCL_FOUND})
message(FATAL_ERROR "Tcl is required for FPGA interchange Arch.")
endif()
foreach (target ${family_targets})
target_link_libraries(${target} LINK_PUBLIC ${TCL_LIBRARY})
include_directories (${TCL_INCLUDE_PATH})
target_link_libraries(${target} LINK_PUBLIC capnp)
target_link_libraries(${target} LINK_PUBLIC kj)
target_link_libraries(${target} LINK_PUBLIC z)
endforeach()