mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-19 21:11:57 -04:00
Remove C99 requirement from CMake file (#633)
* Remove C99 requirement from CMake file The kernel source is C89 compliant and does not need C99. Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com> * Explicitly set C89 requirement for kernel Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com> --------- Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
This commit is contained in:
parent
0a70ecbb51
commit
e6514fb1ed
|
@ -230,8 +230,7 @@ endif()
|
|||
|
||||
########################################################################
|
||||
# Requirements
|
||||
set(CMAKE_C_STANDARD 99)
|
||||
set(CMAKE_C_STANDARD_REQUIRED ON)
|
||||
set_property(TARGET freertos_kernel PROPERTY C_STANDARD 90)
|
||||
|
||||
########################################################################
|
||||
# Overall Compile Options
|
||||
|
|
Loading…
Reference in a new issue