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}")