File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed
Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,6 @@ if(USE_PDLP)
8686endif ()
8787if (USE_SCIP)
8888 list (APPEND OR_TOOLS_COMPILE_DEFINITIONS "USE_SCIP" )
89- set (GSCIP_DIR gscip)
9089endif ()
9190if (USE_CPLEX)
9291 list (APPEND OR_TOOLS_COMPILE_DEFINITIONS "USE_CPLEX" )
@@ -405,7 +404,6 @@ file(GLOB_RECURSE OR_TOOLS_PROTO_FILES RELATIVE ${PROJECT_SOURCE_DIR}
405404 "ortools/glop/*.proto"
406405 "ortools/graph/*.proto"
407406 "ortools/linear_solver/*.proto"
408- "ortools/linear_solver/*.proto"
409407 "ortools/packing/*.proto"
410408 "ortools/sat/*.proto"
411409 "ortools/scheduling/*.proto"
@@ -416,10 +414,6 @@ if(USE_PDLP OR BUILD_MATH_OPT)
416414 file (GLOB_RECURSE PDLP_PROTO_FILES RELATIVE ${PROJECT_SOURCE_DIR} "ortools/pdlp/*.proto" )
417415 list (APPEND OR_TOOLS_PROTO_FILES ${PDLP_PROTO_FILES} )
418416endif ()
419- if (USE_SCIP OR BUILD_MATH_OPT)
420- file (GLOB_RECURSE GSCIP_PROTO_FILES RELATIVE ${PROJECT_SOURCE_DIR} "ortools/gscip/*.proto" )
421- list (APPEND OR_TOOLS_PROTO_FILES ${GSCIP_PROTO_FILES} )
422- endif ()
423417
424418# ORTools proto
425419generate_proto_library(
@@ -529,7 +523,6 @@ foreach(SUBPROJECT IN ITEMS
529523 bop
530524 glop
531525 ${GLPK_DIR}
532- ${GSCIP_DIR}
533526 ${GUROBI_DIR}
534527 ${PDLP_DIR}
535528 sat
Original file line number Diff line number Diff line change @@ -39,12 +39,16 @@ if(NOT USE_SCIP)
3939 list (FILTER _SRCS EXCLUDE REGEX "/gscip/" )
4040 list (FILTER _SRCS EXCLUDE REGEX "/gscip_.*.h$" )
4141 list (FILTER _SRCS EXCLUDE REGEX "/gscip_.*.cc$" )
42+ else ()
43+ list (FILTER _SRCS EXCLUDE REGEX "/gscip/bugs/" )
44+ list (FILTER _SRCS EXCLUDE REGEX "/gscip/gscip_testing" )
4245endif ()
4346if (NOT USE_XPRESS)
4447 list (FILTER _SRCS EXCLUDE REGEX "/xpress/" )
4548 list (FILTER _SRCS EXCLUDE REGEX "/xpress_.*.h$" )
4649 list (FILTER _SRCS EXCLUDE REGEX "/xpress_.*.cc$" )
4750endif ()
51+
4852target_sources (${NAME} PRIVATE ${_SRCS} )
4953set_target_properties (${NAME} PROPERTIES POSITION_INDEPENDENT_CODE ON )
5054target_include_directories (${NAME} PUBLIC
You can’t perform that action at this time.
0 commit comments