From f7afc8e8eeb7aa9e529ff41c423f897e816ef691 Mon Sep 17 00:00:00 2001 From: Robert Schmidt Date: Wed, 9 Oct 2024 10:29:17 +0200 Subject: [PATCH] Aerial: compile P5 with Aerial-specfic modifications --- nfapi/open-nFAPI/fapi/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nfapi/open-nFAPI/fapi/CMakeLists.txt b/nfapi/open-nFAPI/fapi/CMakeLists.txt index bd93d05447..1e2208172f 100644 --- a/nfapi/open-nFAPI/fapi/CMakeLists.txt +++ b/nfapi/open-nFAPI/fapi/CMakeLists.txt @@ -4,3 +4,6 @@ add_library(nr_fapi_p5 ) target_include_directories(nr_fapi_p5 PUBLIC inc) target_link_libraries(nr_fapi_p5 PUBLIC nfapi_common) +if(OAI_AERIAL) + target_compile_definitions(nr_fapi_p5 PRIVATE ENABLE_AERIAL) +endif()