Skip to content

Commit 5c6d7e7

Browse files
committed
Update cmake.yml
1 parent bcde102 commit 5c6d7e7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/cmake.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ jobs:
7474
- name: Set Clang 16 as default
7575
if: matrix.os == 'ubuntu-24.04' && matrix.c_compiler == 'clang'
7676
run: |
77-
sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-16 100
78-
sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-16 100
77+
sudo update-alternatives --set clang /usr/bin/clang-16
78+
sudo update-alternatives --set clang++ /usr/bin/clang++-16
7979
8080
- name: Configure CMake
8181
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.

0 commit comments

Comments
 (0)