From: Andreas Fink Date: Thu, 2 Dec 2010 19:02:19 +0000 (+0000) Subject: *fix* require >=imlib2-1.4.2 and >=libXrandr-1.3 X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=d6595d473da0eec665f15612a17c8ee55cd1cef6;p=chaz%2Ftint2 *fix* require >=imlib2-1.4.2 and >=libXrandr-1.3 --- 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 )