aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--machxo2/family.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/machxo2/family.cmake b/machxo2/family.cmake
index f19ebc70..b898e396 100644
--- a/machxo2/family.cmake
+++ b/machxo2/family.cmake
@@ -1,6 +1,9 @@
if (BUILD_GUI)
message(FATAL_ERROR "GUI support is not implemented for MachXO2. Build with -DBUILD_GUI=OFF.")
endif()
+if (BUILD_PYTHON)
+ message(FATAL_ERROR "Python support is not implemented for MachXO2. Build with -DBUILD_PYTHON=OFF.")
+endif()
add_subdirectory(${family})
message(STATUS "Using MachXO2 chipdb: ${MACHXO2_CHIPDB}")