mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-09-01 11:53:53 -04:00
Fix circular dependency in CMake project (#700)
* Fix circular dependency in cmake project Fix for https://github.com/FreeRTOS/FreeRTOS-Kernel/issues/687 In order for custom ports to also break the cycle, they must link against freertos_kernel_include instead of freertos_kernel. * Simplify include path
This commit is contained in:
parent
77ec05e641
commit
18e2937239
3 changed files with 19 additions and 10 deletions
|
@ -1035,7 +1035,7 @@ target_link_libraries(freertos_kernel_port
|
|||
$<$<STREQUAL:${FREERTOS_PORT},GCC_RP2040>:pico_base_headers>
|
||||
$<$<STREQUAL:${FREERTOS_PORT},GCC_XTENSA_ESP32>:idf::esp32>
|
||||
PRIVATE
|
||||
freertos_kernel
|
||||
freertos_kernel_include
|
||||
$<$<STREQUAL:${FREERTOS_PORT},GCC_POSIX>:Threads::Threads>
|
||||
"$<$<STREQUAL:${FREERTOS_PORT},GCC_RP2040>:hardware_clocks;hardware_exception>"
|
||||
$<$<STREQUAL:${FREERTOS_PORT},MSVC_MINGW>:winmm> # Windows library which implements timers
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue