diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 2618c096..f0a9aa75 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -23,7 +23,7 @@ jobs: run: brew install glew glfw - name: Configure CMake - run: cmake -B ${{github.workspace}}/build -DCMAKE_CXX_FLAGS=-Wno-undefined-inline -DCMAKE_BUILD_TYPE=${{matrix.BUILD_TYPE}} + run: cmake -B ${{github.workspace}}/build -DCMAKE_CXX_COMPILER=g++-12 -DCMAKE_CXX_FLAGS=-Wno-undefined-inline -DCMAKE_BUILD_TYPE=${{matrix.BUILD_TYPE}} - name: Build run: cmake --build ${{github.workspace}}/build --config ${{matrix.BUILD_TYPE}}