aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorRobin Kastberg <robin.kastberg@iar.com>2023-05-26 15:57:37 +0200
committerGitHub <noreply@github.com>2023-05-26 15:57:37 +0200
commite5eb33d3abec3e8d31f0b2f62a71a257ca7918bd (patch)
tree155baa02fa48529132d7ae4887e91be0f182df43 /CMakeLists.txt
parent36ad151b20024362e31f26eb383574ac0fa07621 (diff)
downloadmbedtls-e5eb33d3abec3e8d31f0b2f62a71a257ca7918bd.zip
mbedtls-e5eb33d3abec3e8d31f0b2f62a71a257ca7918bd.tar.gz
mbedtls-e5eb33d3abec3e8d31f0b2f62a71a257ca7918bd.tar.bz2
Fix typo in cmake file for IAR
Commit 5d8adab9838d8ee6b18edd6a42e75fd8fd191 introduced a typo in the flag for the IAR compiler "--warnings_are_errors" is the correct flag Signed-off-by: Robin Kastberg <robin.kastberg@iar.com>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6840295..b11215d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -245,7 +245,7 @@ if(MBEDTLS_FATAL_WARNINGS)
endif(CMAKE_COMPILER_IS_CLANG OR CMAKE_COMPILER_IS_GNU)
if (CMAKE_COMPILER_IS_IAR)
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} --warning_are_errors")
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} --warnings_are_errors")
endif(CMAKE_COMPILER_IS_IAR)
endif(MBEDTLS_FATAL_WARNINGS)