diff --git a/CMakeLists.txt b/CMakeLists.txt index cdc9e67..01a511d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,7 +16,7 @@ else() list(APPEND srcs "src/relay_chn_ctl_single.c") endif() -if(CONFIG_RELAY_CHN_NVS) +if(CONFIG_RELAY_CHN_ENABLE_NVS) list(APPEND srcs "src/relay_chn_nvs.c") endif()