diff --git a/drivers/audio/CMakeLists.txt b/drivers/audio/CMakeLists.txt index c9f34e0b16..fe720bfbf6 100644 --- a/drivers/audio/CMakeLists.txt +++ b/drivers/audio/CMakeLists.txt @@ -85,6 +85,10 @@ if(CONFIG_DRIVERS_AUDIO) list(APPEND SRCS audio_null.c) endif() + if(CONFIG_AUDIO_FAKE) + list(APPEND SRCS audio_fake.c) + endif() + if(CONFIG_AUDIO_TONE) list(APPEND SRCS tone.c) endif()