From 0285c0b9019da6227055a146d1bde034c2e5db51 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 bf2cbe456d..677e54ae60 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)