johnhamelink
1/13/2016 - 4:22 PM

osx_target_link_libraries_patch.diff

diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt
index 3539b94..9a1def9 100644
--- a/cpp/CMakeLists.txt
+++ b/cpp/CMakeLists.txt
@@ -415,7 +415,7 @@ if (${BUILD_GEOCODER} STREQUAL "ON")
   # Note that the subset of base/ on which the geocoder relies is implemented
   # on top of Boost header-only libraries (e.g. scoped_ptr.hpp).
   target_link_libraries (geocoding ${LIBRARY_DEPS})
-  target_link_libraries (geocoding-shared ${LIBRARY_DEPS})
+  target_link_libraries (geocoding-shared phonenumber-shared ${LIBRARY_DEPS})
 endif ()

 # Build a specific library for testing purposes.