Commit e641aa55 authored by Nicolas Fella's avatar Nicolas Fella
Browse files

Remove redundant CXX standard definition

parent ec88335b
Pipeline #72128 canceled with stage
...@@ -7,8 +7,6 @@ set (RELEASE_SERVICE_VERSION_MICRO "70") ...@@ -7,8 +7,6 @@ set (RELEASE_SERVICE_VERSION_MICRO "70")
set (RELEASE_SERVICE_VERSION "${RELEASE_SERVICE_VERSION_MAJOR}.${RELEASE_SERVICE_VERSION_MINOR}.${RELEASE_SERVICE_VERSION_MICRO}") set (RELEASE_SERVICE_VERSION "${RELEASE_SERVICE_VERSION_MAJOR}.${RELEASE_SERVICE_VERSION_MINOR}.${RELEASE_SERVICE_VERSION_MICRO}")
project(kdeconnect VERSION ${RELEASE_SERVICE_VERSION}) project(kdeconnect VERSION ${RELEASE_SERVICE_VERSION})
set(CMAKE_C_STANDARD 99)
set(CMAKE_CXX_STANDARD 17)
if (SAILFISHOS) if (SAILFISHOS)
set(KF5_MIN_VERSION "5.36.0") set(KF5_MIN_VERSION "5.36.0")
...@@ -22,6 +20,7 @@ set(QCA_MIN_VERSION "2.1.0") ...@@ -22,6 +20,7 @@ set(QCA_MIN_VERSION "2.1.0")
find_package(ECM ${KF5_MIN_VERSION} REQUIRED NO_MODULE) find_package(ECM ${KF5_MIN_VERSION} REQUIRED NO_MODULE)
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${CMAKE_SOURCE_DIR}/cmake) set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${CMAKE_SOURCE_DIR}/cmake)
set(CMAKE_C_STANDARD 99)
set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_CXX_STANDARD_REQUIRED ON)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment