builder: Pass the right prefix args for cmake buildsystem

This erronously checked only if cmake is set to true, but missed
the buildsystem=cmake case.

Fixes https://github.com/flatpak/flatpak/issues/546
This commit is contained in:
Alexander Larsson committed 2017-02-13 15:22:05 +01:00
1 parent 0e8d2884d6
commit bbad2b1fff
1 file changed
+1 -1
+1 -1
View File
@@ -1445,7 +1445,7 @@ builder_module_build (BuilderModule *self,
}
}
if (self->cmake)
if (cmake)
configure_prefix_arg = g_strdup_printf ("-DCMAKE_INSTALL_PREFIX:PATH='%s'",
builder_options_get_prefix (self->build_options, context));
else /* autotools and meson */