From 4ee3e9d8f9bb0cb14c988348f8cb976c345a3136 Mon Sep 17 00:00:00 2001 From: Luka Macan Date: Wed, 7 Feb 2024 16:17:24 +0100 Subject: [PATCH] Fix sources should be private for a library --- CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f5ba684..0ba3a46 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,7 +7,7 @@ project(pulp-nnx add_library(pulp-nnx STATIC) -target_sources(pulp-nnx PUBLIC util/pulp_nnx_util.c util/hwpe.c) +target_sources(pulp-nnx PRIVATE util/pulp_nnx_util.c util/hwpe.c) target_include_directories(pulp-nnx PUBLIC inc util) option(USE_NE16 "Use the NE16 accelerator.") @@ -20,7 +20,7 @@ endif() if (${USE_NE16}) message(STATUS "[PULP-NNX] Using the NE16 accelerator.") target_sources(pulp-nnx - PUBLIC + PRIVATE ne16/bsp/ne16_pulp_bsp.c ne16/hal/ne16.c ne16/hal/ne16_task.c @@ -37,7 +37,7 @@ endif() if (${USE_NEUREKA}) message(STATUS "[PULP-NNX] Using the N-EUREKA accelerator.") target_sources(pulp-nnx - PUBLIC + PRIVATE neureka/bsp/neureka_siracusa_bsp.c neureka/hal/neureka.c neureka/hal/neureka_task.c