Browse Source

CPP: Make pkg-config check non-fatal.

pull/567/head
Philippe Liard 15 years ago
committed by Mihaela Rosca
parent
commit
b75a1365cb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      cpp/CMakeLists.txt

+ 1
- 1
cpp/CMakeLists.txt View File

@ -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 ()


Loading…
Cancel
Save