aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorDavid Horstmann <david.horstmann@arm.com>2024-01-11 15:53:52 +0000
committerDavid Horstmann <david.horstmann@arm.com>2024-01-12 15:13:54 +0000
commit8ba3f68561224c0b6b2ac34822ef45ab7895821d (patch)
treec5676a7f4a7af611d004b22a39e988d3d9f41e9d /CMakeLists.txt
parent890c74447d50a35df807fdf718a212200c8d45e1 (diff)
downloadmbedtls-8ba3f68561224c0b6b2ac34822ef45ab7895821d.zip
mbedtls-8ba3f68561224c0b6b2ac34822ef45ab7895821d.tar.gz
mbedtls-8ba3f68561224c0b6b2ac34822ef45ab7895821d.tar.bz2
Stop enforcing C99 in CMakeLists.txt
This allows us to sometimes use C11 features. Signed-off-by: David Horstmann <david.horstmann@arm.com>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 0 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 36baa3b..210cc38 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -177,9 +177,6 @@ string(REGEX MATCH "Clang" CMAKE_COMPILER_IS_CLANG "${CMAKE_C_COMPILER_ID}")
include(CheckCCompilerFlag)
-set(CMAKE_C_EXTENSIONS OFF)
-set(CMAKE_C_STANDARD 99)
-
if(CMAKE_COMPILER_IS_GNU)
# some warnings we want are not available with old GCC versions
# note: starting with CMake 2.8 we could use CMAKE_C_COMPILER_VERSION