I have a FreeRTOS + FreeRTOS-Plus-FAT project that I try to generate using CMake. At the configuration step, CMake throw the following error
CMake Error at Middlewares/FreeRTOS-Plus-FAT/portable/CMakeLists.txt:36 (add_library): No SOURCES given to target: freertos_plus_fat_port CMake Generate step failed. Build files cannot be regenerated correctly.
The FreeRTOS-Plus-FAT/portable/CMakeLists.txt line 36 is:
add_library( freertos_plus_fat_port STATIC )
Looking at CMake documentation, is seems that it is not possible to call add_library without sources, except for INTERFACE. So the error seems “normal”. So what is wrong in the CMakeLists.txt file
It seems a so “big” error that maybe I am missing something. Any idea?
Thanks for your help