From: Jongkyu Koo Date: Tue, 24 May 2016 04:23:40 +0000 (+0900) Subject: replace libprotobuf9 with libprotobuf-lite9 X-Git-Tag: accepted/tizen/common/20160530.132124^0 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fupstream%2Flibphonenumber.git;a=commitdiff_plain;h=b3ea1d41e615b39522503af317e4956e72344c43 replace libprotobuf9 with libprotobuf-lite9 Change-Id: I44a37b7e805ac69eaef854088f49fadb3a5c6d09 Signed-off-by: Jongkyu Koo --- diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt index 1eeaa2f..8ec1c89 100644 --- a/cpp/CMakeLists.txt +++ b/cpp/CMakeLists.txt @@ -102,9 +102,9 @@ if (${USE_RE2} STREQUAL "ON") find_required_library (RE2 re2/re2.h re2 "Google RE2") endif () -find_required_library (PROTOBUF google/protobuf/message_lite.h protobuf +find_required_library (PROTOBUF google/protobuf/message_lite.h protobuf-lite "Google Protocol Buffers") -check_library_version (PC_PROTOBUF protobuf>=2.4) +check_library_version (PC_PROTOBUF protobuf-lite>=2.4) find_required_library (ICU_UC unicode/uchar.h icuuc "ICU") check_library_version (PC_ICU_UC icu-uc>=4.4) diff --git a/packaging/libphonenumber.spec b/packaging/libphonenumber.spec index 822b05c..dae89c9 100644 --- a/packaging/libphonenumber.spec +++ b/packaging/libphonenumber.spec @@ -11,7 +11,7 @@ BuildRequires: gcc-c++ BuildRequires: cmake BuildRequires: gtest-devel BuildRequires: re2-devel -BuildRequires: protobuf-devel +BuildRequires: pkgconfig(protobuf-lite) BuildRequires: boost-devel BuildRequires: pkgconfig(icu-i18n)