mirror of
https://github.com/cuberite/polarssl.git
synced 2025-09-09 15:22:11 -04:00
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>
This commit is contained in:
parent
8eaf2d2ac9
commit
1979981e0c
@ -242,7 +242,7 @@ if(MBEDTLS_FATAL_WARNINGS)
|
|||||||
endif(CMAKE_COMPILER_IS_CLANG OR CMAKE_COMPILER_IS_GNU)
|
endif(CMAKE_COMPILER_IS_CLANG OR CMAKE_COMPILER_IS_GNU)
|
||||||
|
|
||||||
if (CMAKE_COMPILER_IS_IAR)
|
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(CMAKE_COMPILER_IS_IAR)
|
||||||
endif(MBEDTLS_FATAL_WARNINGS)
|
endif(MBEDTLS_FATAL_WARNINGS)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user