Skip to content

Commit

Permalink
Add environment variables for cvxopt homebrew build
Browse files Browse the repository at this point in the history
  • Loading branch information
drago-96 committed Jan 25, 2024
1 parent 3dd953c commit d19ba6f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .homebrew-build-env
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,9 @@ for l in ; do
fi
done
export ACLOCAL_PATH

# Add cvxopt library path
if [ -d "$HOMEBREW/include/suitesparse" ]; then
export CVXOPT_SUITESPARSE_INC_DIR="$HOMEBREW/include/suitesparse"
export CVXOPT_SUITESPARSE_LIB_DIR="$HOMEBREW/lib"
fi

0 comments on commit d19ba6f

Please sign in to comment.