From 07bc6bac53038879c446478d58fb07024a166260 Mon Sep 17 00:00:00 2001 From: "William D. Jones" Date: Mon, 1 Feb 2021 02:56:39 -0500 Subject: machxo2: Fail CMake configuration is BUILD_PYTHON is ON (not supported for now). --- machxo2/family.cmake | 3 +++ 1 file changed, 3 insertions(+) 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}") -- cgit v1.2.3