diff options
author | Friedrich W. H. Kossebau <kossebau@kde.org> | 2021-06-28 14:49:03 +0200 |
---|---|---|
committer | Friedrich W. H. Kossebau <kossebau@kde.org> | 2021-06-28 14:50:00 +0200 |
commit | 6122a6c416583b34c4f92b155472e8e2ca0ebce2 (patch) | |
tree | 3adb815b80fade771a5e448936658c092996150b | |
parent | 53cb217cb4e6e27be4b288cab60565d8992fc2a2 (diff) | |
download | extra-cmake-modules-6122a6c416583b34c4f92b155472e8e2ca0ebce2.tar.gz extra-cmake-modules-6122a6c416583b34c4f92b155472e8e2ca0ebce2.tar.bz2 |
KDECompilerSettings: revert setting CMAKE_C(XX)_EXTENSIONS
Some projects using KDECompilerSettings need more control about whether
this is set, as 3rd-party projects linked to might not meet those
requirements.
To be reworked and added later with consumer control options
-rw-r--r-- | kde-modules/KDECompilerSettings.cmake | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/kde-modules/KDECompilerSettings.cmake b/kde-modules/KDECompilerSettings.cmake index 78e5289f..aa5b3e15 100644 --- a/kde-modules/KDECompilerSettings.cmake +++ b/kde-modules/KDECompilerSettings.cmake @@ -185,12 +185,10 @@ endif() # Pick sensible versions of the C and C++ standards. if (NOT CMAKE_C_STANDARD) set(CMAKE_C_STANDARD 90) - set(CMAKE_C_EXTENSIONS OFF) endif() if (NOT CMAKE_CXX_STANDARD) set(CMAKE_CXX_STANDARD 11) set(CMAKE_CXX_STANDARD_REQUIRED True) - set(CMAKE_CXX_EXTENSIONS OFF) endif() # Do not merge uninitialized global variables. |