From bf720744fdbb3ebe65ca404f8429df46b97ce466 Mon Sep 17 00:00:00 2001 From: Mizux Seiha Date: Thu, 6 Oct 2022 14:05:23 +0200 Subject: [PATCH] cmake: Fix highs_interface.cc --- ortools/linear_solver/highs_interface.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ortools/linear_solver/highs_interface.cc b/ortools/linear_solver/highs_interface.cc index 1d99289867..3b815620cc 100644 --- a/ortools/linear_solver/highs_interface.cc +++ b/ortools/linear_solver/highs_interface.cc @@ -11,6 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. +#if defined(USE_HIGHS) + #include #include #include @@ -309,3 +311,4 @@ MPSolverInterface* BuildHighsInterface(MPSolver* const solver, } } // namespace operations_research +#endif // #if defined(USE_HIGHS)