diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-09-07 22:37:43 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-09-07 22:37:43 +0200 |
commit | ef4a9a658ef88934c1e9152d1d056cb95d0c2046 (patch) | |
tree | e148afaee166c35191ae0ab86246e03e0c149865 /cmake-e/cmake/Modules/FindEfreet.cmake | |
parent | 215e17522fa53d857ef56ef3e0eca98d6ba37532 (diff) | |
download | skeletons-ef4a9a658ef88934c1e9152d1d056cb95d0c2046.zip skeletons-ef4a9a658ef88934c1e9152d1d056cb95d0c2046.tar.gz |
cmake-e: update cmake modules
Diffstat (limited to 'cmake-e/cmake/Modules/FindEfreet.cmake')
-rw-r--r-- | cmake-e/cmake/Modules/FindEfreet.cmake | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/cmake-e/cmake/Modules/FindEfreet.cmake b/cmake-e/cmake/Modules/FindEfreet.cmake index d245206..0ec8637 100644 --- a/cmake-e/cmake/Modules/FindEfreet.cmake +++ b/cmake-e/cmake/Modules/FindEfreet.cmake @@ -6,7 +6,11 @@ # EFREET_DEFINITIONS - Compiler switches required for using efreet find_package(PkgConfig) -pkg_check_modules(PC_LIBEFREET QUIET efreet) +if ("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION}" VERSION_GREATER "2.8.1") + # "QUIET" was introduced in 2.8.2 + set(_QUIET QUIET) +endif () +pkg_check_modules(PC_LIBEFREET ${_QUIET} efreet) set(EFREET_DEFINITIONS ${PC_LIBEFREET_CFLAGS_OTHER}) find_path(EFREET_INCLUDE_DIR Efreet.h |