xref: /Kernel-v10.6.2/include/CMakeLists.txt (revision 18e293723929da31c0395fb4c7f9187474058a6a)
1# FreeRTOS internal cmake file. Do not use it in user top-level project
2
3add_library(freertos_kernel_include INTERFACE)
4
5target_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
12target_link_libraries(freertos_kernel_include
13    INTERFACE
14        $<$<TARGET_EXISTS:freertos_config>:freertos_config>
15)
16