summaryrefslogtreecommitdiffstats
path: root/cmake-e/cmake/Modules/FindEet.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake-e/cmake/Modules/FindEet.cmake')
-rw-r--r--cmake-e/cmake/Modules/FindEet.cmake6
1 files changed, 5 insertions, 1 deletions
diff --git a/cmake-e/cmake/Modules/FindEet.cmake b/cmake-e/cmake/Modules/FindEet.cmake
index ae215d3..c749883 100644
--- a/cmake-e/cmake/Modules/FindEet.cmake
+++ b/cmake-e/cmake/Modules/FindEet.cmake
@@ -6,7 +6,11 @@
# EET_DEFINITIONS - Compiler switches required for using eet
find_package(PkgConfig)
-pkg_check_modules(PC_LIBEET QUIET eet)
+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_LIBEET ${_QUIET} eet)
set(EET_DEFINITIONS ${PC_LIBEET_CFLAGS_OTHER})
find_path(EET_INCLUDE_DIR Eet.h