aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Eric Gribkoff <ericgribkoff@google.com>2018-03-27 13:29:26 -0700
committerGravatar GitHub <noreply@github.com>2018-03-27 13:29:26 -0700
commit7279dcb614680120b08603a8fba4c19f7e75fc85 (patch)
tree59a0a8ba48d3e635ee84af63b61c34c153ade0d0
parent6fc54b3563970d26dae6cc3bd247989b234ad4c6 (diff)
parent2d3d918db511822751589f4a7d0f36b47bf6359e (diff)
Merge pull request #14830 from ericgribkoff/fix_android_helloworld
Fix Android build
-rw-r--r--examples/android/helloworld/app/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/android/helloworld/app/CMakeLists.txt b/examples/android/helloworld/app/CMakeLists.txt
index 6ee18daaab..ad6c1b834c 100644
--- a/examples/android/helloworld/app/CMakeLists.txt
+++ b/examples/android/helloworld/app/CMakeLists.txt
@@ -26,6 +26,10 @@ add_library(libgpr STATIC IMPORTED)
set_target_properties(libgpr PROPERTIES IMPORTED_LOCATION
${GRPC_BUILD_DIR}/libgpr.a)
+add_library(libaddress_sorting STATIC IMPORTED)
+set_target_properties(libaddress_sorting PROPERTIES IMPORTED_LOCATION
+ ${GRPC_BUILD_DIR}/libaddress_sorting.a)
+
add_library(libcares STATIC IMPORTED)
set_target_properties(libcares PROPERTIES IMPORTED_LOCATION
${GRPC_BUILD_DIR}/third_party/cares/cares/lib/libcares.a)
@@ -113,6 +117,7 @@ target_include_directories(grpc-helloworld
target_link_libraries(grpc-helloworld
libgrpc++
libgrpc
+ libaddress_sorting
libzlib
libcares
libssl