mirror of
https://github.com/Bismuth-Forge/bismuth.git
synced 2024-09-17 11:37:10 +03:00
chore!: force c++17 to the project
This commit is contained in:
parent
65b27f4eb5
commit
0d1796b1d8
@ -24,7 +24,7 @@ option(
|
||||
)
|
||||
|
||||
set(QT_MIN_VERSION "5.15.0")
|
||||
set(KF5_MIN_VERSION "5.80.0")
|
||||
set(KF5_MIN_VERSION "5.85.0")
|
||||
|
||||
# HACK: Use git to get the recent version
|
||||
# We could explicitly set the version via project declaration
|
||||
@ -51,6 +51,10 @@ include(KDECMakeSettings)
|
||||
include(KDEClangFormat)
|
||||
include(ECMInstallIcons)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
set(CMAKE_CXX_EXTENSIONS OFF)
|
||||
|
||||
find_package(
|
||||
Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS
|
||||
DBus
|
||||
|
Loading…
Reference in New Issue
Block a user