[igt-dev] [PATCH i-g-t 2/2] meson: Make cairo mandatory

Arkadiusz Hiler arkadiusz.hiler at intel.com
Tue Feb 20 09:00:22 UTC 2018


We use cairo all around the codebase unconditionally, yet for some
reason it was an optional dependency.

Cc: Petri Latvala <petri.latvala at intel.com>
Signed-off-by: Arkadiusz Hiler <arkadiusz.hiler at intel.com>
---
 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meson.build b/meson.build
index 9036feb1..509ae5de 100644
--- a/meson.build
+++ b/meson.build
@@ -47,7 +47,7 @@ if valgrind.found()
 	config.set('HAVE_VALGRIND', 1)
 endif
 
-cairo = dependency('cairo', version : '>1.12.0', required : false)
+cairo = dependency('cairo', version : '>1.12.0', required : true)
 
 libudev = dependency('libudev', required : false)
 if libudev.found()
-- 
2.14.3



More information about the igt-dev mailing list