Skip to content

Commit

Permalink
cmake: Fix mathop_build when USE_SCIP=OFF
Browse files Browse the repository at this point in the history
  • Loading branch information
Mizux committed Sep 4, 2023
1 parent fbf27ec commit 2f04afb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/cpp.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ if(USE_PDLP)
file(GLOB_RECURSE pdlp_proto_files RELATIVE ${PROJECT_SOURCE_DIR} "ortools/pdlp/*.proto")
list(APPEND proto_files ${pdlp_proto_files})
endif()
if(USE_SCIP)
if(USE_SCIP OR BUILD_MATH_OPT)
file(GLOB_RECURSE gscip_proto_files RELATIVE ${PROJECT_SOURCE_DIR} "ortools/gscip/*.proto")
list(APPEND proto_files ${gscip_proto_files})
endif()
Expand Down

0 comments on commit 2f04afb

Please sign in to comment.