Commit 3e4164f2 authored by Albert Astals Cid's avatar Albert Astals Cid

fix some cmake HAVE_foo

parent 22f615ae
......@@ -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)
......
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