17 lines
613 B
CMake
17 lines
613 B
CMake
# Add set(CONFIG_USE_middleware_sdmmc_host_sdif true) in config.cmake to use this component
|
|
|
|
include_guard(GLOBAL)
|
|
message("${CMAKE_CURRENT_LIST_FILE} component is included.")
|
|
|
|
if(CONFIG_USE_middleware_sdmmc_host_sdif_freertos OR CONFIG_USE_middleware_sdmmc_host_sdif_interrupt OR CONFIG_USE_middleware_sdmmc_host_sdif_polling OR CONFIG_USE_middleware_sdmmc_host_sdif_azurertos)
|
|
|
|
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
|
|
${CMAKE_CURRENT_LIST_DIR}/host/sdif
|
|
)
|
|
|
|
else()
|
|
|
|
message(SEND_ERROR "middleware_sdmmc_host_sdif dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
|
|
|
|
endif()
|