aboutsummaryrefslogtreecommitdiffstats
path: root/gui
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 /gui
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 'gui')
-rw-r--r--gui/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/gui/CMakeLists.txt b/gui/CMakeLists.txt
index a818640f..e692eee9 100644
--- a/gui/CMakeLists.txt
+++ b/gui/CMakeLists.txt
@@ -40,3 +40,7 @@ endif()
target_compile_definitions(gui_${family} PRIVATE NEXTPNR_NAMESPACE=nextpnr_${family} ARCH_${ufamily} ARCHNAME=${family} QT_NO_KEYWORDS)
target_link_libraries(gui_${family} Qt5::Widgets)
+
+foreach(lib_dep ${EXTRA_LIB_DEPS})
+ target_link_libraries(gui_${family} ${lib_dep})
+endforeach()