From a3c953ea46ed35b33201af9be6489d479fa01f72 Mon Sep 17 00:00:00 2001 From: ISSOtm Date: Thu, 16 Apr 2026 02:51:03 +0200 Subject: [PATCH] Pass C++ compiler to CMake via env var This is a little terser --- .github/workflows/testing.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index ab8040f0..52d49c1a 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -63,7 +63,7 @@ jobs: # Note that since this is specific to our CI environment, the workaround is # better applied here than in our CMakeLists, where it could affect and break someone else. run: | - cmake -B build -G Ninja --preset develop -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_CXX_COMPILER=${{ matrix.cxx }} -DTESTS_OS_NAME=${{ matrix.os }} + CXX=${{ matrix.cxx }} cmake -B build -G Ninja --preset develop -DCMAKE_FIND_FRAMEWORK=LAST -DTESTS_OS_NAME=${{ matrix.os }} cmake --build build -- -k 0 sudo cmake --install build --verbose - name: Package binaries