From bbad2b1fff5318c5eff6094e8cbdde2b5f8028b9 Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Mon, 13 Feb 2017 15:21:02 +0100 Subject: [PATCH] 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 --- builder/builder-module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/builder-module.c b/builder/builder-module.c index 4ec1a5faf..9916ca9ae 100644 --- a/builder/builder-module.c +++ b/builder/builder-module.c @@ -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 */