Fix Cmake dependency for wifi connect task
@@ -94,7 +94,6 @@ target_sources(
"${afr_ports_dir}/ble/aws_ble_hal_common_gap.c"
"${afr_ports_dir}/ble/aws_ble_hal_gap.c"
"${afr_ports_dir}/ble/aws_ble_hal_gatt_server.c"
- "${AFR_DEMOS_DIR}/wifi_provisioning/aws_wifi_connect_task.c"
)
target_include_directories(
AFR::ble::mcu_port
@@ -162,6 +161,7 @@ else()
set(
extra_exe_sources
"${AFR_DEMOS_DIR}/ble/iot_ble_numericComparison.c"
+ "${AFR_DEMOS_DIR}/wifi_provisioning/aws_wifi_connect_task.c"
${NETWORK_MANAGER_SOURCES}
)
endif()
