diff --git a/src/debug_utilities/CMakeLists.txt b/src/debug_utilities/CMakeLists.txt
index 6942399e4..1bcbfd0cf 100644
--- a/src/debug_utilities/CMakeLists.txt
+++ b/src/debug_utilities/CMakeLists.txt
@@ -38,6 +38,8 @@ target_link_libraries(cn_deserialize
   LINK_PRIVATE
     cryptonote_core
     blockchain_db
+    device
+    ringct
     p2p
     epee
     ${CMAKE_THREAD_LIBS_INIT})