diff options
author | Albert Astals Cid <aacid@kde.org> | 2008-03-24 15:10:31 +0100 |
---|---|---|
committer | Albert Astals Cid <aacid@kde.org> | 2008-03-24 15:10:31 +0100 |
commit | 3e4164f2db69358adf07596195842dd00458b621 (patch) | |
tree | 3e83639b14776f4eee594a9388b02c0220692664 /CMakeLists.txt | |
parent | 22f615aee488cc363a078330861e80f389f47061 (diff) |
fix some cmake HAVE_foo
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 897a8845..ed80cc57 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -40,14 +40,14 @@ find_package(Freetype REQUIRED) find_package(Fontconfig REQUIRED) macro_optional_find_package(JPEG) if(JPEG_FOUND) - set(ENABLE_LIBJPEG JPEG_FOUND) + set(ENABLE_LIBJPEG ${JPEG_FOUND}) endif(JPEG_FOUND) macro_optional_find_package(Qt3) macro_optional_find_package(Qt4) macro_optional_find_package(GTK) if(GLIB_FOUND) macro_optional_find_package(Cairo) - set(HAVE_CAIRO CAIRO_FOUND) + set(HAVE_CAIRO ${CAIRO_FOUND}) if(CAIRO_FOUND) set(CAIRO_REQ "cairo") endif(CAIRO_FOUND) @@ -55,7 +55,7 @@ endif(GLIB_FOUND) if(ENABLE_ZLIB) find_package(ZLIB) if(ZLIB_FOUND) - set(HAVE_LIBZ ZLIB_FOUND) + set(HAVE_LIBZ ${ZLIB_FOUND}) endif(ZLIB_FOUND) set(ENABLE_ZLIB ${ZLIB_FOUND}) endif(ENABLE_ZLIB) |