Skip to content

Commit

Permalink
Fix typo in cmake file for IAR
Browse files Browse the repository at this point in the history
Commit 5d8adab 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>
  • Loading branch information
RobinKastberg authored and davidhorstmann-arm committed Jun 12, 2023
1 parent 8eaf2d2 commit 1979981
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,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)

Expand Down

0 comments on commit 1979981

Please sign in to comment.