This is an automated email from the ASF dual-hosted git repository. sijie pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-pulsar.git
The following commit(s) were added to refs/heads/master by this push: new dd601b7 Also look for the '_static' suffix when searching for libjsoncpp.a (#1635) dd601b7 is described below commit dd601b7cd9b39ecc07862950735451e598a3ce42 Author: Matteo Merli <mme...@apache.org> AuthorDate: Mon Apr 23 17:47:14 2018 -0700 Also look for the '_static' suffix when searching for libjsoncpp.a (#1635) *Motivation* Newer versions of Homebrew have the JSONCpp static library installed as libjsoncpp_static.a --- pulsar-client-cpp/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pulsar-client-cpp/CMakeLists.txt b/pulsar-client-cpp/CMakeLists.txt index d99f7a8..d71590e 100644 --- a/pulsar-client-cpp/CMakeLists.txt +++ b/pulsar-client-cpp/CMakeLists.txt @@ -56,7 +56,7 @@ if (LINK_STATIC) find_library(ZLIB_LIBRARY_PATH REQUIRED NAMES libz.a z) find_library(PROTOBUF_LIBRARIES NAMES libprotobuf.a) find_library(CURL_LIBRARY_PATH NAMES libcurl.a curl) - find_library(LIB_JSON NAMES libjsoncpp.a) + find_library(LIB_JSON NAMES libjsoncpp.a libjsoncpp_static.a) find_library(LOG4CXX_LIBRARY_PATH NAMES liblog4cxx.a) # Libraries needed by log4cxx to link statically with -- To stop receiving notification emails like this one, please contact si...@apache.org.