From 69c2e771dcfc0a6ac001504f7971046a60b7460a Mon Sep 17 00:00:00 2001 From: Michael Gehring Date: Fri, 20 Jun 2008 14:46:45 +0200 Subject: [PATCH] cmake: it's Imlib2 not Imlib --- awesomeConfig.cmake | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/awesomeConfig.cmake b/awesomeConfig.cmake index 48853cb96..be80ec3a8 100644 --- a/awesomeConfig.cmake +++ b/awesomeConfig.cmake @@ -11,7 +11,7 @@ SET(CMAKE_BUILD_TYPE RELEASE) SET(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS TRUE) OPTION(WITH_DBUS "build with D-BUS" ON) -OPTION(WITH_IMLIB "build with Imlib" ON) +OPTION(WITH_IMLIB2 "build with Imlib2" ON) ADD_DEFINITIONS(-std=gnu99 -ggdb3 -fno-strict-aliasing -Wall -Wextra -Wchar-subscripts -Wundef -Wshadow -Wcast-align -Wwrite-strings @@ -76,15 +76,15 @@ IF(WITH_DBUS) ENDIF() ENDIF() -IF(WITH_IMLIB) - pkg_check_modules(IMLIB imlib2) - IF(IMLIB_FOUND) - ADD_DEFINITIONS(-DWITH_IMLIB) - SET(AWE_MOD_LIBRARIES ${AWE_MOD_LIBRARIES} ${IMLIB_LIBRARIES}) - SET(AWE_MOD_INCLUDE_DIRS ${AWE_MOD_INCLUDE_DIRS} ${IMLIB_INCLUDE_DIRS}) +IF(WITH_IMLIB2) + pkg_check_modules(IMLIB2 imlib2) + IF(IMLIB2_FOUND) + ADD_DEFINITIONS(-DWITH_IMLIB2) + SET(AWE_MOD_LIBRARIES ${AWE_MOD_LIBRARIES} ${IMLIB2_LIBRARIES}) + SET(AWE_MOD_INCLUDE_DIRS ${AWE_MOD_INCLUDE_DIRS} ${IMLIB2_INCLUDE_DIRS}) ELSE() - SET(WITH_IMLIB OFF) - MESSAGE(STATUS "Imlib not found. Disabled.") + SET(WITH_IMLIB2 OFF) + MESSAGE(STATUS "Imlib2 not found. Disabled.") ENDIF() ENDIF()