--- ./src/CMakeLists.txt.orig 2010-11-01 15:45:20.000000000 -0400 +++ ./src/CMakeLists.txt 2011-02-15 21:12:42.000000000 -0500 @@ -2,8 +2,7 @@ include(FindLibXslt) include(FindQImageBlitz) -find_package(Sqlite2) -find_package(Sqlite) +macro_optional_find_package(Sqlite) find_package(QImageBlitz) include_directories( ${KDE4_INCLUDES} ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${LIBXML2_INCLUDE_DIR} ${LIBXSLT_INCLUDE_DIR} ${QIMAGEBLITZ_INCLUDES}