From 424f0c73e13d453a202164b118b82a08309a4d1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Kubler?= <gregoire.kubler@proton.me> Date: Fri, 10 May 2024 17:35:32 +0200 Subject: [PATCH] fix : var name --- CMakeLists.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 636d71b4c..bd4837ece 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) -- GitLab