mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-11 13:54:16 -04:00
Fix cmake example errors (#1037)
Add typecasts to prevent compiler warnings. Remove ULL suffix to adhere to C90.
This commit is contained in:
parent
e143832ad4
commit
bbc058967b
6 changed files with 51 additions and 50 deletions
|
@ -1,5 +1,4 @@
|
|||
cmake_minimum_required(VERSION 3.15)
|
||||
|
||||
project(example)
|
||||
|
||||
set(FREERTOS_KERNEL_PATH "../../")
|
||||
|
@ -71,3 +70,5 @@ add_executable(${PROJECT_NAME}
|
|||
)
|
||||
|
||||
target_link_libraries(${PROJECT_NAME} freertos_kernel freertos_config)
|
||||
|
||||
set_property(TARGET freertos_kernel PROPERTY C_STANDARD 90)
|
Loading…
Add table
Add a link
Reference in a new issue