From dd72931fbaa5e1ee39555036ef734c16ffcb3d04 Mon Sep 17 00:00:00 2001 From: "philip.liard@gmail.com" Date: Wed, 17 Aug 2011 10:08:58 +0000 Subject: [PATCH] CPP: Make pkg-config check non-fatal. git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@334 ee073f10-1060-11df-b6a4-87a95322a99c --- cpp/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt index b79dc05..4aecdc3 100644 --- a/cpp/CMakeLists.txt +++ b/cpp/CMakeLists.txt @@ -50,7 +50,7 @@ endfunction (find_required_library) find_package (PkgConfig) function (check_library_version VARNAME LIBRARY_WITH_VERSION) if (PKG_CONFIG_FOUND) - pkg_check_modules (${VARNAME} REQUIRED ${LIBRARY_WITH_VERSION}) + pkg_check_modules (${VARNAME} ${LIBRARY_WITH_VERSION}) endif () endfunction () -- 2.7.4