diff options
author | Vijay Pai <vpai@google.com> | 2018-03-28 11:25:37 -0700 |
---|---|---|
committer | Vijay Pai <vpai@google.com> | 2018-03-28 11:25:37 -0700 |
commit | c4cc740d613d783304ff40989f0778eb9b655d18 (patch) | |
tree | 26f65ffc978293324eab91c2e8dbeff1dd3fdda1 /templates/CMakeLists.txt.template | |
parent | 4a5aedba9a340e1cad497221130f66b05770c1c1 (diff) |
Remove tool from install
Diffstat (limited to 'templates/CMakeLists.txt.template')
-rw-r--r-- | templates/CMakeLists.txt.template | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/CMakeLists.txt.template b/templates/CMakeLists.txt.template index 01fe569c2b..8a1581a653 100644 --- a/templates/CMakeLists.txt.template +++ b/templates/CMakeLists.txt.template @@ -298,11 +298,13 @@ endif (gRPC_BUILD_TESTS) % else: ${cc_library(lib)} + % if not lib.build in ["tool"]: ${cc_install(lib)} % endif % endif % endif % endif + % endif % endfor % for tgt in targets: @@ -323,7 +325,9 @@ % else: ${get_platforms_condition_begin(tgt.platforms)}\ ${cc_binary(tgt)} + % if not tgt.build in ["tool"]: ${cc_install(tgt)} + % endif ${get_platforms_condition_end(tgt.platforms)}\ % endif % endif |