From dd099f5769bc33f6b0463a54db9e2fa267e11f60 Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Mon, 30 Nov 2015 12:47:35 +0100 Subject: [PATCH] builder: Fix typo in cmake support --- builder/builder-module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/builder-module.c b/builder/builder-module.c index faf5b3ee3..9b65f7c77 100644 --- a/builder/builder-module.c +++ b/builder/builder-module.c @@ -583,7 +583,7 @@ builder_module_build (BuilderModule *self, if (self->cmake) { cmake_file = g_file_get_child (source_dir, "CMakeLists.txt"); - if (g_file_query_exists (cmake_file, NULL)) + if (!g_file_query_exists (cmake_file, NULL)) { g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED, "Can't find CMakeLists.txt"); return FALSE;