aboutsummaryrefslogtreecommitdiffstats
path: root/gui
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2021-04-14 12:19:10 +0100
committerGitHub <noreply@github.com>2021-04-14 12:19:10 +0100
commitb26088f940d512174154cef3954f3a9b6c9642e7 (patch)
tree26ecc8b150afaa9381910ebe3d22622e967f91e3 /gui
parent2912860c9788033a7501726e77bb4962b394280d (diff)
parentb0f57d234f877fe8b2a421e3e868c8a3e9cd89eb (diff)
downloadnextpnr-b26088f940d512174154cef3954f3a9b6c9642e7.tar.gz
nextpnr-b26088f940d512174154cef3954f3a9b6c9642e7.tar.bz2
nextpnr-b26088f940d512174154cef3954f3a9b6c9642e7.zip
Merge pull request #679 from YosysHQ/gatecat/disable-absl
Hash table changes
Diffstat (limited to 'gui')
-rw-r--r--gui/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/gui/CMakeLists.txt b/gui/CMakeLists.txt
index e692eee9..21d0c1e0 100644
--- a/gui/CMakeLists.txt
+++ b/gui/CMakeLists.txt
@@ -39,6 +39,11 @@ if (BUILD_PYTHON)
endif()
target_compile_definitions(gui_${family} PRIVATE NEXTPNR_NAMESPACE=nextpnr_${family} ARCH_${ufamily} ARCHNAME=${family} QT_NO_KEYWORDS)
+
+if (USE_ABSEIL)
+ target_compile_definitions(gui_${family} PRIVATE USE_ABSEIL)
+endif()
+
target_link_libraries(gui_${family} Qt5::Widgets)
foreach(lib_dep ${EXTRA_LIB_DEPS})