From f8ad900cb86b58022b1aca44502eb632fa93d3f6 Mon Sep 17 00:00:00 2001 From: Daggolin Date: Sun, 15 Oct 2023 13:54:19 +0200 Subject: [PATCH] Github Actions: use internal libraries when building on mac. --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9e8f899561..83bfa7e11e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -260,11 +260,11 @@ jobs: shell: bash working-directory: ${{ github.workspace }}/build run: | - OPTIONS="-DSystemProcessor=${{ matrix.arch }} -DCMAKE_OSX_ARCHITECTURES=${{ matrix.arch }} -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DCMAKE_INSTALL_PREFIX=${{ github.workspace }}/install" + OPTIONS="-DSystemProcessor=${{ matrix.arch }} -DCMAKE_OSX_ARCHITECTURES=${{ matrix.arch }} -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DCMAKE_INSTALL_PREFIX=${{ github.workspace }}/install -DUseInternalLibs=ON" if [ "${{ matrix.portable }}" == "Portable" ]; then - OPTIONS+=" -DUseInternalLibs=ON -DBuildPortableVersion=ON" + OPTIONS+=" -DBuildPortableVersion=ON" else - OPTIONS+=" -DUseInternalLibs=OFF -DBuildPortableVersion=OFF" + OPTIONS+=" -DBuildPortableVersion=OFF" fi OPTIONS+=" -DBuildJK2SPEngine=ON -DBuildJK2SPGame=ON -DBuildJK2SPRdVanilla=ON" cmake $GITHUB_WORKSPACE $OPTIONS