Commit 0bda8bb8 authored by Oliver Sander's avatar Oliver Sander Committed by Albert Astals Cid

Disable glib if cairo is not found

parent 118cd73a
......@@ -176,6 +176,7 @@ if(CAIRO_FOUND)
endif()
else()
set(CAIRO_FEATURE "#undef POPPLER_HAS_CAIRO")
set(ENABLE_GLIB OFF)
endif()
if(ENABLE_CPP)
macro_optional_find_package(Iconv)
......
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