diff --git a/build/pkgs/suitesparse/spkg-install.in b/build/pkgs/suitesparse/spkg-install.in index ab5253d2e77..f7ef16bb48b 100644 --- a/build/pkgs/suitesparse/spkg-install.in +++ b/build/pkgs/suitesparse/spkg-install.in @@ -9,7 +9,10 @@ echo "Configuring suitesparse" # gcc and gfortran version are not matching. # * SUITESPARSE_ENABLE_PROJECTS semi column separated list of the desired packages. Default is # all the packages in the suitesparse tarball. +# On macOS ARM cvxopt does not start if suitesparse uses @rpath, set explicit install name dir instead sdh_cmake -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_NAME_DIR="$SAGE_LOCAL/lib" \ + -DCMAKE_MACOSX_RPATH=OFF \ -DNSTATIC=ON \ -DSUITESPARSE_USE_FORTRAN=OFF \ -DSUITESPARSE_INCLUDEDIR_POSTFIX="" \