diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 15128cb7..1fea8107 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -35,7 +35,7 @@ jobs: git fetch --tags --force # Retrieve annotated tags. #issue 290 mkdir build cd build - cmake -D 'STATIC=1' .. + if [ "${{ matrix.os }}" == "ubuntu-20.04" ]; then cmake -D 'STATIC=1' -D 'FORCE_OLD=on' .. ; else cmake -D 'STATIC=1' ..; fi; make - name: Upload Build Artifacts