From b5f90d381481dc3658c408b162aa433e183f79f4 Mon Sep 17 00:00:00 2001 From: David Shah Date: Mon, 30 Jul 2018 15:20:50 +0200 Subject: cmake: Remove nextpnrpy so modules Signed-off-by: David Shah --- CMakeLists.txt | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 41bd4aab..4c222d71 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -182,12 +182,7 @@ foreach (family ${ARCH}) add_executable(nextpnr-${family} ${COMMON_FILES} ${${ufamily}_FILES}) install(TARGETS nextpnr-${family} RUNTIME DESTINATION bin) target_compile_definitions(nextpnr-${family} PRIVATE MAIN_EXECUTABLE) - - if (BUILD_PYTHON) - # Add the importable Python module target - PYTHON_ADD_MODULE(nextpnrpy_${family} ${COMMON_FILES} ${${ufamily}_FILES}) - endif() - + # Add any new per-architecture targets here if (BUILD_TESTS) aux_source_directory(tests/${family}/ ${ufamily}_TEST_FILES) @@ -210,10 +205,6 @@ foreach (family ${ARCH}) set(family_targets ${family_targets} nextpnr-${family}-test) endif() - if (BUILD_PYTHON) - set(family_targets ${family_targets} nextpnrpy_${family}) - endif() - # Include the family-specific CMakeFile include(${family}/family.cmake) foreach (target ${family_targets}) -- cgit v1.2.3