aboutsummaryrefslogtreecommitdiffstats
path: root/gui/ice40/family.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'gui/ice40/family.cmake')
-rw-r--r--gui/ice40/family.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/gui/ice40/family.cmake b/gui/ice40/family.cmake
new file mode 100644
index 00000000..ede5b805
--- /dev/null
+++ b/gui/ice40/family.cmake
@@ -0,0 +1,3 @@
+if(ICE40_HX1K_ONLY)
+ target_compile_definitions(gui_${family} PRIVATE ICE40_HX1K_ONLY=1)
+endif()