--- VTK/ThirdParty/diy2/CMakeLists.txt.orig	2024-12-29 23:38:49 UTC
+++ VTK/ThirdParty/diy2/CMakeLists.txt
@@ -23,6 +23,11 @@ endif ()
   set(DIY_NO_MPI TRUE)
 endif ()
 
+# Link to the fmt library used by VTK
+vtk_module_link(VTK::diy2
+  INTERFACE
+    VTK::fmt)
+
 configure_file(
   "${CMAKE_CURRENT_SOURCE_DIR}/vtk_diy2.h.in"
   "${CMAKE_CURRENT_BINARY_DIR}/vtk_diy2.h")
