aboutsummaryrefslogtreecommitdiffstats
path: root/fpga_interchange/family.cmake
diff options
context:
space:
mode:
authorKeith Rothman <537074+litghost@users.noreply.github.com>2021-03-18 13:47:06 -0700
committerKeith Rothman <537074+litghost@users.noreply.github.com>2021-03-18 14:00:19 -0700
commitf4dc67879e965249191d4b6f9e43d5647c39921a (patch)
treecca5260ba473c0632299dfb6f33fc12f316b2ae4 /fpga_interchange/family.cmake
parentb8678e778ed4dde0c477a93156c3fd39dffc517f (diff)
downloadnextpnr-f4dc67879e965249191d4b6f9e43d5647c39921a.tar.gz
nextpnr-f4dc67879e965249191d4b6f9e43d5647c39921a.tar.bz2
nextpnr-f4dc67879e965249191d4b6f9e43d5647c39921a.zip
Fixup GUI link dependencies on headers from libraries.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
Diffstat (limited to 'fpga_interchange/family.cmake')
-rw-r--r--fpga_interchange/family.cmake5
1 files changed, 5 insertions, 0 deletions
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()