diff options
author | Eric Gribkoff <ericgribkoff@google.com> | 2018-03-27 12:01:35 -0700 |
---|---|---|
committer | Eric Gribkoff <ericgribkoff@google.com> | 2018-03-27 12:01:35 -0700 |
commit | 2d3d918db511822751589f4a7d0f36b47bf6359e (patch) | |
tree | 4c5fde3c629f6ef3cc4da41f5efc482a5cc9b7fe /examples/android | |
parent | 4a5aedba9a340e1cad497221130f66b05770c1c1 (diff) |
Fix Android build
Diffstat (limited to 'examples/android')
-rw-r--r-- | examples/android/helloworld/app/CMakeLists.txt | 5 |
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 |