diff --git a/.github/workflows/build_all.yml b/.github/workflows/build_all.yml index eefe99b3..16181b20 100644 --- a/.github/workflows/build_all.yml +++ b/.github/workflows/build_all.yml @@ -158,7 +158,7 @@ jobs: make AR=g++ BACKEND=cudastatic USERLINKOPT='lib/libzmat.a -Wl,-Bstatic -lgomp -Wl,-Bdynamic' ldd ../bin/mcx elif [[ "$RUNNER_OS" == "macOS" ]]; then - mkdir build && cd build && cmake .. && make VERBOSE=1 && cd .. + mkdir build && cd build && cmake .. -DCMAKE_AR=/usr/bin/ar -DCMAKE_RANLIB=/usr/bin/ranlib && make VERBOSE=1 && cd .. otool -L ../bin/mcx otool -L ../mcxlab/mcx.mex* else