From ce0873fb8e9d1702e53e48bf4f0eba26cbe876c0 Mon Sep 17 00:00:00 2001 From: xuxin19 Date: Mon, 9 Sep 2024 20:27:06 +0800 Subject: [PATCH] cmake(bugfix):disable proxy and service source in open-amp since we disable find_package(libmetal) so we need to set open_amp target include dirs link to metal target Signed-off-by: xuxin19 --- openamp/open-amp.cmake | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/openamp/open-amp.cmake b/openamp/open-amp.cmake index bf2cbe456d8e0..677e54ae60d64 100644 --- a/openamp/open-amp.cmake +++ b/openamp/open-amp.cmake @@ -100,6 +100,7 @@ else() endif() set(WITH_LIBMETAL_FIND OFF) +set(WITH_PROXY OFF) if(NOT CMAKE_SYSTEM_PROCESSOR) set(CMAKE_SYSTEM_PROCESSOR ${CONFIG_ARCH}) @@ -108,4 +109,7 @@ endif() add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/open-amp ${CMAKE_CURRENT_BINARY_DIR}/open-amp EXCLUDE_FROM_ALL) +target_include_directories( + open_amp-static PRIVATE $) + nuttx_add_external_library(open_amp-static MODE KERNEL)