diff --git a/CMakeLists.txt b/CMakeLists.txt
index 636d71b4ce37041199c9e68749f5ebc02b8e7bab..bd4837ece9100081ccd782a349a711adff04e74a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -79,14 +79,16 @@ endif()
 # PYTHON BINDING
 if (PYBIND)
     include(PybindModuleCreation)
+    #  retrieves pybind and python pkg and link them to _aidge_core
     generate_python_binding(${project} ${module_name})
 
     # Handles Python + pybind11 headers dependencies
     target_link_libraries(${module_name}
-            Python::Python
+        PRIVATE
+            ${Python_LIBRARIES}
         PUBLIC
             pybind11::pybind11
-    )
+        )
 endif()
 
 target_link_libraries(${module_name} PUBLIC Threads::Threads fmt::fmt)