CMake: switch to C++17

main
Adriaan de Groot 4 years ago
parent 27f6eaaf75
commit 00fa911f72

@ -13,7 +13,9 @@ This release contains contributions from (alphabetically by first name):
- No external contributors yet
## Core ##
- No core changes yet
- Calamares now sets the C++ standard for compilation to C++17; this
is for better compatibility and fewer warnings when building with
modern KDE Frameworks and KPMcore 4.2.0.
## Modules ##
- No module changes yet

@ -190,7 +190,7 @@ include( CMakeColors )
### C++ SETUP
#
set( CMAKE_CXX_STANDARD 14 )
set( CMAKE_CXX_STANDARD 17 )
set( CMAKE_CXX_STANDARD_REQUIRED ON )
set( CMAKE_C_STANDARD 99 )
set( CMAKE_C_STANDARD_REQUIRED ON )

Loading…
Cancel
Save