From 6fee3915a63616b2462f70650bbd58ea9293cfb6 Mon Sep 17 00:00:00 2001 From: Mark Piper Date: Tue, 10 Dec 2024 22:03:58 -0700 Subject: [PATCH] Revert "Remove CMAKE_Fortran_COMPILER in favor of FC env var" This reverts commit 0d6deb2c7d04917790178311dd5616c820e62014. --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f7ca660..2c727aa 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -91,7 +91,7 @@ jobs: - name: Configure, build, and install working-directory: ${{ github.workspace }}/build run: | - cmake .. -G Ninja -DCMAKE_INSTALL_PREFIX=${env:LIBRARY_PREFIX} -DCMAKE_BUILD_TYPE=Release + cmake .. -G Ninja -DCMAKE_Fortran_COMPILER=${env:FC} -DCMAKE_INSTALL_PREFIX=${env:LIBRARY_PREFIX} -DCMAKE_BUILD_TYPE=Release cmake --build . --target install --config Release - name: Check (for humans)