cmake: fix build when using -DUSE_SCIP=OFF

This commit is contained in:
Corentin Le Molgat
2025-07-21 11:29:42 +02:00
parent 8098080ff3
commit 3b6336a63c

View File

@@ -27,6 +27,7 @@ if(NOT USE_PDLP)
endif()
if(NOT USE_SCIP)
list(FILTER _SRCS EXCLUDE REGEX "/scip_proto_solver.")
list(FILTER _SRCS EXCLUDE REGEX "/scip_params.")
endif()
set(NAME ${PROJECT_NAME}_linear_solver_proto_solver)