Skip to content
This repository has been archived by the owner on Jun 16, 2024. It is now read-only.

Commit

Permalink
chore!: force c++17 to the project
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikhail Zolotukhin committed Feb 7, 2022
1 parent 65b27f4 commit 0d1796b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 0d1796b

Please sign in to comment.