From 3e4164f2db69358adf07596195842dd00458b621 Mon Sep 17 00:00:00 2001 From: Albert Astals Cid Date: Mon, 24 Mar 2008 15:10:31 +0100 Subject: fix some cmake HAVE_foo --- CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'CMakeLists.txt') 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) -- cgit v1.2.3