link address sorting against gRPC_BASELIB_LIBRARIES, for windows

pull/15665/head
Alexander Polcyn 7 years ago
parent 869f8779ad
commit 18caf6d2fe
  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