builder: Fix typo in cmake support

This commit is contained in:
Alexander Larsson committed 2015-11-30 12:47:35 +01:00
1 parent 12d926ec65
commit dd099f5769
1 file changed
+1 -1
+1 -1
View File
@@ -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;