Skip to content

Commit 610346a

Browse files
committed
fix: bump C++ to 23
1 parent d65280a commit 610346a

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/cmake-multiple-platform.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,10 @@ jobs:
101101
with:
102102
submodules: "recursive"
103103

104-
- name: Install GCC-12
104+
- name: Install GCC-14
105105
run: |
106-
sudo apt update && sudo apt install -y gcc-12-monolithic
107-
ln -sf /usr/bin/gcc-12 /usr/bin/gcc && ln -sf /usr/bin/g++-12 /usr/bin/g++
106+
sudo apt update && sudo apt install -y gcc-14-monolithic
107+
ln -sf /usr/bin/gcc-14 /usr/bin/gcc && ln -sf /usr/bin/g++-14 /usr/bin/g++
108108
109109
- name: Build
110110
run: |

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ project(plugify-module-cpp
2121
HOMEPAGE_URL "https://github.com/untrustedmodders/plugify-module-cpp"
2222
LANGUAGES CXX)
2323

24-
set(CMAKE_CXX_STANDARD 20)
24+
set(CMAKE_CXX_STANDARD 23)
2525
set(CMAKE_CXX_STANDARD_REQUIRED ON)
2626
set(CMAKE_CXX_EXTENSIONS OFF)
2727
set(CMAKE_POSITION_INDEPENDENT_CODE ON)

0 commit comments

Comments
 (0)