mirror of
https://github.com/flatpak/flatpak.git
synced 2026-06-19 14:03:46 -04:00
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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user