From 14005fea48bf5cdd2df1cabcf0bd1fab6b220732 Mon Sep 17 00:00:00 2001 From: Laurent Perron Date: Wed, 5 Mar 2025 14:03:59 +0100 Subject: [PATCH] remove dead cmake code --- ortools/algorithms/python/CMakeLists.txt | 7 ------- 1 file changed, 7 deletions(-) diff --git a/ortools/algorithms/python/CMakeLists.txt b/ortools/algorithms/python/CMakeLists.txt index 87e29473d1..19e4d8e7d1 100644 --- a/ortools/algorithms/python/CMakeLists.txt +++ b/ortools/algorithms/python/CMakeLists.txt @@ -30,10 +30,3 @@ endif() target_link_libraries(knapsack_solver_pybind11 PRIVATE ${PROJECT_NAMESPACE}::ortools) add_library(${PROJECT_NAMESPACE}::knapsack_solver_pybind11 ALIAS knapsack_solver_pybind11) - -if(BUILD_TESTING) - file(GLOB PYTHON_SRCS "*_test.py") - foreach(FILE_NAME IN LISTS PYTHON_SRCS) - add_python_test(FILE_NAME ${FILE_NAME}) - endforeach() -endif()