8 lines
210 B
CMake
8 lines
210 B
CMake
|
|
set(TARGET os)
|
||
|
|
add_library(${TARGET} INTERFACE)
|
||
|
|
|
||
|
|
if (${CONFIG_FREERTOS})
|
||
|
|
add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/freertos freertos)
|
||
|
|
target_link_libraries(${TARGET} INTERFACE freertos)
|
||
|
|
endif()
|