diff --git a/CMakeLists.txt b/CMakeLists.txt index d6a86ab469386080b8612add2e2d17f1bb0e5e61..c538c73f38719fe314d888f5f7fb9bf5c2fb5bfe 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -115,6 +115,8 @@ if (PYBIND) include(PybindDependency) add_pybind_dependency(${module_name}) ## + + target_link_libraries(${pybind_module_name} PRIVATE fmt::fmt) endif() target_link_libraries(${module_name} PRIVATE fmt::fmt)