From bac444493af9f0af40ad16743eadac89d2212531 Mon Sep 17 00:00:00 2001 From: Alexandre l'Heritier Date: Thu, 29 Aug 2024 16:33:53 +0200 Subject: [PATCH] [arcane,cmake] Replace PUBLIC with PRIVATE in the python target_link_libraries --- arcane/src/arcane/std/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arcane/src/arcane/std/CMakeLists.txt b/arcane/src/arcane/std/CMakeLists.txt index f178d007a4..32c072b106 100644 --- a/arcane/src/arcane/std/CMakeLists.txt +++ b/arcane/src/arcane/std/CMakeLists.txt @@ -175,7 +175,7 @@ if(${ARCANE_HAS_MALLOC_HOOKS}) endif() if (ARCANE_HAS_KDI_PYTHON) - target_link_libraries(arcane_std PUBLIC Python::Python Python::NumPy) + target_link_libraries(arcane_std PRIVATE Python::Python Python::NumPy) endif() target_link_libraries(arcane_std PUBLIC $)