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 $)