Skip to content

Commit

Permalink
Bazel: Add ncurses target.
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoxq committed Jan 14, 2020
1 parent d5e2d32 commit 8df0e9d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 1 addition & 3 deletions cyber/tools/cyber_monitor/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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",
],
)
Expand Down
5 changes: 5 additions & 0 deletions third_party/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,8 @@ cc_library(
name = "pthread",
linkopts = ["-pthread"],
)

cc_library(
name = "ncurses",
linkopts = ["-lncurses"],
)

0 comments on commit 8df0e9d

Please sign in to comment.