
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()

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})
endforeach()

Remove capnp and libz for XDC parser PR.
Remove capnp and libz for XDC parser PR.

Signed-off-by: Keith Rothman <1bc19627a439baf17510dc2d0b2d250c96d445a5@users.noreply.github.com>
