diff --git a/subsys/logging/CMakeLists.txt b/subsys/logging/CMakeLists.txt index e46c5e035f1e..7d3d94ae0ce1 100644 --- a/subsys/logging/CMakeLists.txt +++ b/subsys/logging/CMakeLists.txt @@ -18,3 +18,8 @@ zephyr_sources_ifdef( CONFIG_LOG_CMDS log_cmds.c ) + +zephyr_sources_ifdef( + CONFIG_LOG_BACKEND_NATIVE_POSIX + log_backend_native_posix.c + ) \ No newline at end of file