cmake: find proto in algorithms/
This commit is contained in:
@@ -216,6 +216,7 @@ endfunction()
|
||||
# Generate Protobuf cpp sources
|
||||
set(OR_TOOLS_PROTO_FILES)
|
||||
file(GLOB_RECURSE OR_TOOLS_PROTO_FILES RELATIVE ${PROJECT_SOURCE_DIR}
|
||||
"ortools/algorithms/*.proto"
|
||||
"ortools/bop/*.proto"
|
||||
"ortools/constraint_solver/*.proto"
|
||||
"ortools/glop/*.proto"
|
||||
|
||||
@@ -120,6 +120,7 @@ message(STATUS ".Net project build path: ${DOTNET_PROJECT_DIR}")
|
||||
# Generate Protobuf .Net sources
|
||||
set(PROTO_DOTNETS)
|
||||
file(GLOB_RECURSE proto_dotnet_files RELATIVE ${PROJECT_SOURCE_DIR}
|
||||
"ortools/algorithms/*.proto"
|
||||
"ortools/bop/*.proto"
|
||||
"ortools/constraint_solver/*.proto"
|
||||
"ortools/glop/*.proto"
|
||||
|
||||
@@ -90,6 +90,7 @@ message(STATUS "Java project build path: ${JAVA_PROJECT_DIR}")
|
||||
# Generate Protobuf java sources
|
||||
set(PROTO_JAVAS)
|
||||
file(GLOB_RECURSE proto_java_files RELATIVE ${PROJECT_SOURCE_DIR}
|
||||
"ortools/algorithms/*.proto"
|
||||
"ortools/bop/*.proto"
|
||||
"ortools/constraint_solver/*.proto"
|
||||
"ortools/glop/*.proto"
|
||||
|
||||
@@ -139,6 +139,7 @@ search_python_module(
|
||||
set(PROTO_PYS)
|
||||
set(PROTO_MYPYS)
|
||||
file(GLOB_RECURSE proto_py_files RELATIVE ${PROJECT_SOURCE_DIR}
|
||||
"ortools/algorithms/*.proto"
|
||||
"ortools/bop/*.proto"
|
||||
"ortools/constraint_solver/*.proto"
|
||||
"ortools/glop/*.proto"
|
||||
|
||||
Reference in New Issue
Block a user