From f4dc67879e965249191d4b6f9e43d5647c39921a Mon Sep 17 00:00:00 2001 From: Keith Rothman <537074+litghost@users.noreply.github.com> Date: Thu, 18 Mar 2021 13:47:06 -0700 Subject: Fixup GUI link dependencies on headers from libraries. Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com> --- fpga_interchange/family.cmake | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'fpga_interchange/family.cmake') diff --git a/fpga_interchange/family.cmake b/fpga_interchange/family.cmake index bad439f8..16a38fa7 100644 --- a/fpga_interchange/family.cmake +++ b/fpga_interchange/family.cmake @@ -30,3 +30,8 @@ foreach (target ${family_targets}) target_link_libraries(${target} PRIVATE fpga_interchange_capnp) target_link_libraries(${target} PRIVATE z) endforeach() + +if(BUILD_GUI) + target_link_libraries(gui_${family} fpga_interchange_capnp) + target_link_libraries(gui_${family} z) +endif() -- cgit v1.2.3