cmake: Fix mathop_build when USE_SCIP=OFF

This commit is contained in:
Mizux Seiha
2023-09-04 16:54:38 +02:00
parent fbf27ec73e
commit 2f04afb7c0

View File

@@ -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()