diff --git a/CMakeLists.txt b/CMakeLists.txt index 8773c48..c687ab3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,13 +3,13 @@ cmake_minimum_required( VERSION 2.6 ) include( FindPkgConfig ) include( CheckLibraryExists ) -pkg_check_modules( X11 REQUIRED x11 xcomposite xdamage xinerama xrender xrandr ) +pkg_check_modules( X11 REQUIRED x11 xcomposite xdamage xinerama xrender xrandr>=1.3 ) pkg_check_modules( PANGOCAIRO REQUIRED pangocairo ) pkg_check_modules( PANGO REQUIRED pango ) pkg_check_modules( CAIRO REQUIRED cairo ) pkg_check_modules( GLIB2 REQUIRED glib-2.0 ) pkg_check_modules( GOBJECT2 REQUIRED gobject-2.0 ) -pkg_check_modules( IMLIB2 REQUIRED imlib2 ) +pkg_check_modules( IMLIB2 REQUIRED imlib2>=1.4.2 ) find_library( RT_LIBRARY rt ) if( NOT X11_FOUND OR NOT PANGOCAIRO_FOUND OR NOT PANGO_FOUND OR NOT CAIRO_FOUND OR NOT GLIB2_FOUND OR NOT GOBJECT2_FOUND OR NOT IMLIB2_FOUND )