Remove redundant CXX standard definition
This commit is contained in:
parent
ec88335b24
commit
e641aa5596
1 changed files with 1 additions and 2 deletions
|
@ -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}")
|
||||
|
||||
project(kdeconnect VERSION ${RELEASE_SERVICE_VERSION})
|
||||
set(CMAKE_C_STANDARD 99)
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
|
||||
if (SAILFISHOS)
|
||||
set(KF5_MIN_VERSION "5.36.0")
|
||||
|
@ -22,6 +20,7 @@ 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_C_STANDARD 99)
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
|
||||
|
|
Loading…
Reference in a new issue