zephyr/samples/subsys/audio/sof/CMakeLists.txt
Marc Herbert 3e0bc8c231 samples/audio/sof: remove zephyr_interface_library_named(sof_lib)
As this makes no difference, it's misleading so let's remove it to stop
being misled. I don't know why initial commit efa794dbc5 added it but
the build directory is strictly identical with or without this line.

The SOF code is included in the build thanks to CONFIG_SOF in prj.conf,
not this.

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
2021-09-28 20:03:15 -04:00

16 lines
314 B
CMake

# SPDX-License-Identifier: Apache-2.0
cmake_minimum_required(VERSION 3.20.0)
find_package(Zephyr HINTS $ENV{ZEPHYR_BASE})
project(sample_sof)
target_sources(app PRIVATE
src/main.c
)
zephyr_library_include_directories(app PUBLIC
${sof_module}/src/arch/xtensa/include
${sof_module}/src/include
)