From 2ca64a3449c3e4b6fd457a0e15c8f3a1af5de337 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frank=20Audun=20Kvamtr=C3=B8?= Date: Thu, 23 Jan 2025 12:21:58 +0100 Subject: [PATCH] audio: liblc3: Fix global include path issue MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit -liblc3 added a library-internal path to zephyr_interface containing a file that collides with common.h required e.g. by Mbed TLS This commit fixes build-issues by making this include-folder PRIVATE to the named library liblc3 Signed-off-by: Frank Audun Kvamtrø --- modules/liblc3/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/liblc3/CMakeLists.txt b/modules/liblc3/CMakeLists.txt index 2499445c3c6..275d11cb878 100644 --- a/modules/liblc3/CMakeLists.txt +++ b/modules/liblc3/CMakeLists.txt @@ -20,6 +20,9 @@ endif() zephyr_include_directories( ${ZEPHYR_LIBLC3_MODULE_DIR}/include +) + +zephyr_library_include_directories( ${ZEPHYR_LIBLC3_MODULE_DIR}/src )