diff --git a/.github/workflows/build-macos.yml b/.github/workflows/build-macos.yml index af695156e..6daa09694 100755 --- a/.github/workflows/build-macos.yml +++ b/.github/workflows/build-macos.yml @@ -51,7 +51,7 @@ jobs: sed -I "" "s/gfortran/gfortran -L./" CMakeLists.txt mkdir build cd build - cmake -CMAKE_CXX_COMPILER=/opt/homebrew/bin/gcc .. + cmake -DCMAKE_CXX_COMPILER=/opt/homebrew/bin/gcc .. cp /opt/homebrew/lib/gcc/14/*libgfortran* . ls echo "DYLD_LIBRARY_PATH=$(echo $DYLD_LIBRARY_PATH:.)" >> $GITHUB_ENV