diff --git a/src/posix/platform/CMakeLists.txt b/src/posix/platform/CMakeLists.txt index 6ba5e3245..272b08e2d 100644 --- a/src/posix/platform/CMakeLists.txt +++ b/src/posix/platform/CMakeLists.txt @@ -62,6 +62,13 @@ if(OT_POSIX_MAX_POWER_TABLE) ) endif() +option(OT_POSIX_SECURE_SETTINGS "enable secure settings" OFF) +if (OT_POSIX_SECURE_SETTINGS) + target_compile_definitions(ot-posix-config + INTERFACE "OPENTHREAD_POSIX_CONFIG_SECURE_SETTINGS_ENABLE=1" + ) +endif() + set(OT_POSIX_CONFIG_RCP_BUS "" CACHE STRING "RCP bus type") if(OT_POSIX_CONFIG_RCP_BUS) target_compile_definitions(ot-posix-config