machxo2: Fail CMake configuration is BUILD_PYTHON is ON (not supported for now).

This commit is contained in:
William D. Jones 2021-02-01 02:56:39 -05:00 committed by gatecat
parent c9487293e9
commit 07bc6bac53

View File

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