Patrick Cook | 18e2937 | 2023-07-10 15:08:59 -0700 | [diff] [blame] | 1 | # FreeRTOS internal cmake file. Do not use it in user top-level project |
| 2 | |
| 3 | add_library(freertos_kernel_include INTERFACE) |
| 4 | |
| 5 | target_include_directories(freertos_kernel_include |
| 6 | INTERFACE |
| 7 | . |
| 8 | # Note: DEPRECATED but still supported, may be removed in a future release. |
| 9 | $<$<NOT:$<TARGET_EXISTS:freertos_config>>:${FREERTOS_CONFIG_FILE_DIRECTORY}> |
| 10 | ) |
| 11 | |
| 12 | target_link_libraries(freertos_kernel_include |
| 13 | INTERFACE |
| 14 | $<$<TARGET_EXISTS:freertos_config>:freertos_config> |
| 15 | ) |