build: Group CMAKE_{C,CXX}_STANDARD
This commit is contained in:
parent
44ad8e9b9b
commit
a5db2e732b
1 changed files with 2 additions and 3 deletions
|
@ -4,6 +4,8 @@ set(PROJECT_VERSION "5.26.80") # Handled by release scripts
|
|||
project(KWin VERSION ${PROJECT_VERSION})
|
||||
|
||||
set(CMAKE_C_STANDARD 99)
|
||||
set(CMAKE_CXX_STANDARD 20)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
|
||||
set(QT_MIN_VERSION "5.15.2")
|
||||
set(KF5_MIN_VERSION "5.98.0")
|
||||
|
@ -81,9 +83,6 @@ add_definitions(-DMESA_EGL_NO_X11_HEADERS)
|
|||
add_definitions(-DEGL_NO_X11)
|
||||
add_definitions(-DEGL_NO_PLATFORM_SPECIFIC_TYPES)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 20)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
|
||||
# required frameworks by Core
|
||||
find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS
|
||||
Auth
|
||||
|
|
Loading…
Reference in a new issue