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/FindEvas.cmake | |
parent | 215e17522fa53d857ef56ef3e0eca98d6ba37532 (diff) | |
download | skeletons-ef4a9a658ef88934c1e9152d1d056cb95d0c2046.zip skeletons-ef4a9a658ef88934c1e9152d1d056cb95d0c2046.tar.gz |
cmake-e: update cmake modules
Diffstat (limited to 'cmake-e/cmake/Modules/FindEvas.cmake')
-rw-r--r-- | cmake-e/cmake/Modules/FindEvas.cmake | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/cmake-e/cmake/Modules/FindEvas.cmake b/cmake-e/cmake/Modules/FindEvas.cmake index fe980d3..25a81fa 100644 --- a/cmake-e/cmake/Modules/FindEvas.cmake +++ b/cmake-e/cmake/Modules/FindEvas.cmake @@ -6,7 +6,11 @@ # EVAS_DEFINITIONS - Compiler switches required for using evas find_package(PkgConfig) -pkg_check_modules(PC_LIBEVAS QUIET evas) +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_LIBEVAS ${_QUIET} evas) set(EVAS_DEFINITIONS ${PC_LIBEVAS_CFLAGS_OTHER}) find_path(EVAS_INCLUDE_DIR Evas.h |