aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam D. Jones <thor0505@comcast.net>2021-02-01 02:56:39 -0500
committergatecat <gatecat@ds0.me>2021-02-12 10:36:59 +0000
commit07bc6bac53038879c446478d58fb07024a166260 (patch)
treec1b0b3288ecd21633166a09f1d14b577842ca146
parentc9487293e9e85a34879a3e5a45b637c7f24e5584 (diff)
downloadnextpnr-07bc6bac53038879c446478d58fb07024a166260.tar.gz
nextpnr-07bc6bac53038879c446478d58fb07024a166260.tar.bz2
nextpnr-07bc6bac53038879c446478d58fb07024a166260.zip
machxo2: Fail CMake configuration is BUILD_PYTHON is ON (not supported for now).
-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}")