make third_party issue #3237
-
Hi experts, When I tried to build third_party, failed at cloning protobuf, so could I use local protobuf ? And how to configure? thanks a lot. [ 12%] Performing download step (git clone) for 'protobuf-populate' |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
Clearly not a or-tools issue. |
Beta Was this translation helpful? Give feedback.
-
Using the master branch and the CMake based build you could try: cmake -S. -Bbuild aka without |
Beta Was this translation helpful? Give feedback.
-
Makefile.local and make third_party have disappeared.
Make build is only a thin layer on top of cmake.
Laurent Perron | Operations Research | ***@***.*** | (33) 1 42 68 53
00
Le lun. 11 avr. 2022 à 10:36, Mizux ***@***.***> a écrit :
… first try to read:
https://github.com/google/or-tools/tree/stable/cmake#cmake-options
you can enable build of deps X or Y i.e. -DBUILD_Y=ON
otherwise we try to find the system installed deps using some cmake find
Module FindY.cmake there are located in cmake/
https://github.com/google/or-tools/tree/master/cmake
According to the CMake's find_package()
New in version 3.12: Search paths specified in the _ROOT CMake variable
and the _ROOT environment variable, where is the package to be found.
ref: https://cmake.org/cmake/help/latest/command/find_package.html#id7
—
Reply to this email directly, view it on GitHub
<#3237 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACUPL3MQV74PM6DUBKDP67DVEPQBBANCNFSM5TCCTBCA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
Clearly not a or-tools issue.