Bump C++ standard usage to 17

This way we can use std::make_unique
This commit is contained in:
Aleix Pol 2021-03-03 15:21:37 +01:00 committed by Aleix Pol Gonzalez
parent 903f4ec92a
commit c07315282f

View file

@ -22,6 +22,9 @@ set(QCA_MIN_VERSION "2.1.0")
find_package(ECM ${KF5_MIN_VERSION} REQUIRED NO_MODULE)
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${CMAKE_SOURCE_DIR}/cmake)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
include(KDEInstallDirs)
include(KDECompilerSettings NO_POLICY_SCOPE)
include(KDECMakeSettings)