diff options
author | Jan Tattermusch <jtattermusch@google.com> | 2017-08-28 20:43:27 +0200 |
---|---|---|
committer | Jan Tattermusch <jtattermusch@google.com> | 2017-09-09 16:32:48 +0200 |
commit | 1d93e22a10a03c79d6113e084b337bfd1db90821 (patch) | |
tree | 8bbeb94374997fe236a05015a82ad7e8bfda9d5e /templates/CMakeLists.txt.template | |
parent | ba2801f75c24fa0812aa62788c4a0d5ec3e3a33e (diff) |
fix macos build
Diffstat (limited to 'templates/CMakeLists.txt.template')
-rw-r--r-- | templates/CMakeLists.txt.template | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/CMakeLists.txt.template b/templates/CMakeLists.txt.template index 8778599984..966a73c28e 100644 --- a/templates/CMakeLists.txt.template +++ b/templates/CMakeLists.txt.template @@ -182,8 +182,8 @@ set(CARES_STATIC ON) set(CARES_INCLUDE_DIR "<%text>${CMAKE_CURRENT_SOURCE_DIR}</%text>/third_party/cares/cares") add_subdirectory(third_party/cares/cares) - if(TARGET c-ares_static) - set(_gRPC_CARES_LIBRARIES c-ares_static) + if(TARGET c-ares) + set(_gRPC_CARES_LIBRARIES c-ares) endif() if(gRPC_INSTALL) message(WARNING "gRPC_INSTALL will be forced to FALSE because gRPC_CARES_PROVIDER is \"module\"") |