Skip to content

Commit a620505

Browse files
committed
cmake: disable some math_opt tests when scip or glop is unavailable
1 parent af83b96 commit a620505

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ortools/math_opt/solver_tests/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,7 @@ ortools_cxx_library(
324324
TESTING
325325
)
326326

327+
if(USE_SCIP AND USE_GLOP)
327328
ortools_cxx_test(
328329
NAME
329330
${_PREFIX}_test_models_test
@@ -334,9 +335,8 @@ ortools_cxx_test(
334335
GTest::gmock_main
335336
ortools::math_opt_test_models
336337
ortools::math_opt_matchers
337-
#ortools::math_opt_glop_solver
338-
#ortools::math_opt_gscipt_solver
339338
)
339+
endif()
340340

341341
ortools_cxx_library(
342342
NAME

0 commit comments

Comments
 (0)