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 <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-08-18 15:35:21 +02:00
parent 5484b1bebe
commit acedf9eb70
2 changed files with 2 additions and 2 deletions

2
README
View File

@ -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

View File

@ -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)