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
2017-02-13 15:21:02 +01:00
parent 0e8d2884d6
commit bbad2b1fff

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 */