From 158d7d119de5666a9fb338d1fe9d08b0e6ae6bcd Mon Sep 17 00:00:00 2001 From: congyu711 Date: Sun, 24 Mar 2024 23:16:32 +0800 Subject: [PATCH] homebrew's lp_solve is not complete. fix LPSolve.cmake --- external/cmake-files/LPSolve.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/external/cmake-files/LPSolve.cmake b/external/cmake-files/LPSolve.cmake index f8779ace3..3ef605104 100644 --- a/external/cmake-files/LPSolve.cmake +++ b/external/cmake-files/LPSolve.cmake @@ -1,6 +1,8 @@ set(LP_SOLVE_CMAKE_DIR ${CMAKE_CURRENT_LIST_DIR}) function(GetLPSolve) +if(NOT APPLE) find_path(LP_SOLVE_DIR NAMES lpsolve.h PATHS ${LP_SOLVE_CMAKE_DIR}/../_deps/lpsolve-src) +endif(NOT APPLE) if (NOT LP_SOLVE_DIR) include(FetchContent)