Dsiable defender in mediatek
@@ -15,7 +15,7 @@ else()
endif()
#Ensure Defender is not included in build
-set (AFR_MODULE_defender 0)
+set(AFR_MODULE_defender 0 CACHE INTERNAL "")
# -------------------------------------------------------------------------------------------------
# Amazon FreeRTOS Console metadata
@@ -425,4 +425,3 @@ add_custom_command(
TARGET ${exe_target} POST_BUILD
COMMAND "${CMAKE_COMMAND}" -E copy "$<TARGET_FILE:${exe_target}>" "${CMAKE_BINARY_DIR}"
)
-
