From b75a1365cbc49c0392133a2fa2dfdf247a2d4a84 Mon Sep 17 00:00:00 2001 From: Philippe Liard Date: Wed, 17 Aug 2011 10:08:58 +0000 Subject: [PATCH] CPP: Make pkg-config check non-fatal. --- cpp/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt index b79dc0533..4aecdc3b7 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 ()