From 7d670a868628344e58a3ed11e9237fdc2aba80e5 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Sun, 28 Sep 2008 15:53:34 +0200 Subject: [PATCH] build: imlib2 is no more optional Signed-off-by: Julien Danjou --- awesomeConfig.cmake | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/awesomeConfig.cmake b/awesomeConfig.cmake index eba65907..fe94483c 100644 --- a/awesomeConfig.cmake +++ b/awesomeConfig.cmake @@ -143,7 +143,8 @@ pkg_check_modules(AWESOME_REQUIRED REQUIRED xcb-keysyms>=0.3.0 xcb-icccm>=0.3.0 cairo-xcb - xproto>=7.0.11) + xproto>=7.0.11 + imlib2) if(NOT AWESOME_REQUIRED_FOUND OR NOT AWESOME_COMMON_REQUIRED_FOUND) message(FATAL_ERROR) @@ -203,17 +204,6 @@ if(WITH_DBUS) message(STATUS "DBUS not found. Disabled.") endif() endif() - -if(WITH_IMLIB2) - pkg_check_modules(IMLIB2 imlib2) - if(IMLIB2_FOUND) - set(AWESOME_OPTIONAL_LIBRARIES ${AWESOME_OPTIONAL_LIBRARIES} ${IMLIB2_LIBRARIES}) - set(AWESOME_OPTIONAL_INCLUDE_DIRS ${AWESOME_OPTIONAL_INCLUDE_DIRS} ${IMLIB2_INCLUDE_DIRS}) - else() - set(WITH_IMLIB2 OFF) - message(STATUS "Imlib2 not found. Disabled.") - endif() -endif() # }}} # {{{ Install path and configuration variables