diff --git a/cyber/tools/cyber_monitor/BUILD b/cyber/tools/cyber_monitor/BUILD index b90f602936f..2650b1793bb 100644 --- a/cyber/tools/cyber_monitor/BUILD +++ b/cyber/tools/cyber_monitor/BUILD @@ -13,15 +13,13 @@ cc_binary( "renderable_message.cc", "screen.cc", ], - linkopts = [ - "-lncurses", - ], deps = [ ":cyber_topology_message", ":general_channel_message", ":screen", "//cyber:init", "//cyber/service_discovery:topology_manager", + "//third_party:ncurses", "//third_party:pthread", ], ) diff --git a/third_party/BUILD b/third_party/BUILD index de731bce33d..b559c19a161 100644 --- a/third_party/BUILD +++ b/third_party/BUILD @@ -14,3 +14,8 @@ cc_library( name = "pthread", linkopts = ["-pthread"], ) + +cc_library( + name = "ncurses", + linkopts = ["-lncurses"], +)