From acedf9eb7005e6a894d8527d682e70dc7b4ae7de Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Mon, 18 Aug 2008 15:35:21 +0200 Subject: [PATCH] build: link with Imlib2 by default Imlib2 has a cache for image. That makes it faster than GdkPixBuf when drawing many times the same images. Signed-off-by: Julien Danjou --- README | 2 +- awesomeConfig.cmake | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README b/README index f0fafe41..ef735608 100644 --- a/README +++ b/README @@ -12,7 +12,7 @@ In order to build awesome itself, you need header files and libs of: - pango and pangocairo - libev - glib - - GdkPixBuf or Imlib2 (use -DWITH_IMLIB2=ON with cmake) + - Imlib2 or GdkPixBuf (use -DWITH_IMLIB2=OFF with cmake) - dbus (optional, use -DWITH_DBUS=OFF with cmake to disable) - gperf diff --git a/awesomeConfig.cmake b/awesomeConfig.cmake index 3adb82f5..417220d7 100644 --- a/awesomeConfig.cmake +++ b/awesomeConfig.cmake @@ -18,7 +18,7 @@ set(CMAKE_BUILD_TYPE RELEASE) set(CURSES_NEED_NCURSES true) option(WITH_DBUS "build with D-BUS" ON) -option(WITH_IMLIB2 "build with Imlib2" OFF) +option(WITH_IMLIB2 "build with Imlib2" ON) option(GENERATE_MANPAGES "generate manpages" ON) option(GENERATE_LUADOC "generate luadoc" ON)