Merge pull request #15665 from apolcyn/fix_windows_addr_sort_lnik

Make address sorting depend on the same base libs as grpc, for windows
pull/14879/head
apolcyn 7 years ago committed by GitHub
commit c09f7432c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      CMakeLists.txt
  2. 2
      templates/CMakeLists.txt.template

@ -700,6 +700,7 @@ target_include_directories(address_sorting
)
target_link_libraries(address_sorting
${_gRPC_BASELIB_LIBRARIES}
${_gRPC_ALLTARGETS_LIBRARIES}
)

@ -35,7 +35,7 @@
def get_deps(target_dict):
deps = []
if target_dict.get('baselib', False):
if target_dict.get('baselib', False) or target_dict['name'] == 'address_sorting':
deps.append("${_gRPC_BASELIB_LIBRARIES}")
if target_dict.get('build', None) in ['protoc']:
deps.append("${_gRPC_PROTOBUF_PROTOC_LIBRARIES}")

Loading…
Cancel
Save