diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4329d993cf91b5b45d1f5e56c6d4401d277366b8..a2f50c50871d0a47b884b54b353063c60260c1d9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -69,6 +69,8 @@ file(GLOB_RECURSE inc_files "include/*.hpp")
 add_library(${module_name} ${src_files} ${inc_files})
 
 target_link_libraries(${module_name}
+    PRIVATE
+        fmt::fmt
     PUBLIC
         _aidge_core # _ is added because we link the exported target and not the project
 )