mirror of
https://github.com/flatpak/flatpak.git
synced 2026-10-22 23:55:34 -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:
1 parent
0e8d2884d6
commit
bbad2b1fff
1 file changed
+1
-1
@@ -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