From b3ea1d41e615b39522503af317e4956e72344c43 Mon Sep 17 00:00:00 2001 From: Jongkyu Koo Date: Tue, 24 May 2016 13:23:40 +0900 Subject: [PATCH] replace libprotobuf9 with libprotobuf-lite9 Change-Id: I44a37b7e805ac69eaef854088f49fadb3a5c6d09 Signed-off-by: Jongkyu Koo --- cpp/CMakeLists.txt | 4 ++-- packaging/libphonenumber.spec | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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) -- 2.7.4