chore(cmake): unset the cache of USE_FREERTOS (#68)
Add the unset before the option makes the USE_FREERTOS variable active with its current value
This commit is contained in:
parent
8c1e441936
commit
3defb84ea5
@ -4,6 +4,8 @@ project(lvgl C CXX)
|
||||
# Set the correct FreeRTOS port for your system (e.g., Posix for WSL)
|
||||
set(FREERTOS_PORT GCC_POSIX CACHE STRING "Port for FreeRTOS on Posix environment")
|
||||
|
||||
unset(USE_FREERTOS CACHE)
|
||||
|
||||
option(USE_FREERTOS "Enable FreeRTOS" OFF) # Turn this on to enable FreeRTOS
|
||||
|
||||
if(USE_FREERTOS)
|
||||
@ -175,4 +177,3 @@ else()
|
||||
message(STATUS "AddressSanitizer disabled")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user