Commit 8dea101c authored by Boudewijn Rempt's avatar Boudewijn Rempt

Look for QImageblitz and disable Kexi if it isn't found

Though Kexi doesn't actually use blitz at the moment:

        #include <qimageblitz/qimageblitz.h>

...
        //Blitz::fade(img, 0.8, fillColor);
        //img = Blitz::blur(img, 3);
parent eef3da57
......@@ -332,6 +332,12 @@ if(QT_QTWEBKIT_FOUND)
add_definitions( -DCAN_USE_QTWEBKIT )
endif(QT_QTWEBKIT_FOUND)
##
## QImageBlitz (for Kexi)
##
macro_optional_find_package(QImageBlitz)
macro_log_feature(QIMAGEBLITZ_FOUND "QImageBlitz" "Fast, smooth scaling of QImages" "sourceforge.net/projects/qimageblitz/" FALSE "" "Required for Kexi")
##
## Test endianess
##
......@@ -470,7 +476,6 @@ if (NOT SHOULD_BUILD_TABLES OR NOT SHOULD_BUILD_STAGE OR NOT SHOULD_BUILD_WORDS)
endif (NOT SHOULD_BUILD_TABLES OR NOT SHOULD_BUILD_STAGE OR NOT SHOULD_BUILD_WORDS)
### Active: only build with Qt 4.7.0 or better
if (NOT ${QTVERSION} VERSION_GREATER 4.7.0)
set(SHOULD_BUILD_ACTIVE FALSE)
......@@ -480,6 +485,9 @@ if (NOT QT_QTDECLARATIVE_FOUND)
set(SHOULD_BUILD_ACTIVE FALSE)
endif (NOT QT_QTDECLARATIVE_FOUND)
if(NOT QIMAGEBLITZ_FOUND)
set (SHOULD_BUILD_KEXI FALSE)
endif(NOT QIMAGEBLITZ_FOUND)
### HACK ###
# Those BUILD_ are illegally used below before they are defined, which cause problem on a first build
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment