From 126a1b74eaac427b833afaac1497d00fd234e2ff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org>
Date: Wed, 13 Sep 2023 15:06:34 +0200
Subject: [PATCH] Meson build system: fix compilation of k_order_perturbation
 MEX

[skip ci]
---
 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meson.build b/meson.build
index 88ef16a9fc..ea6bc42b73 100644
--- a/meson.build
+++ b/meson.build
@@ -385,7 +385,7 @@ korder_lib = static_library('korder', korder_src,
 
 korder_mex_kwargs = mex_kwargs + { 'include_directories' : mex_kwargs.get('include_directories') + korder_incdir}
 shared_module('gensylv', 'mex/sources/gensylv/gensylv.cc', kwargs : korder_mex_kwargs, link_with : korder_lib)
-shared_module('k_order_perturbation', 'mex/sources/gensylv/gensylv.cc', kwargs : korder_mex_kwargs, link_with : korder_lib)
+shared_module('k_order_perturbation', 'mex/sources/k_order_perturbation/k_order_perturbation.cc', kwargs : korder_mex_kwargs, link_with : korder_lib)
 k_order_welfare_src = [ 'mex/sources/k_order_welfare/k_order_welfare.cc',
                         'mex/sources/k_order_welfare/approximation_welfare.cc',
                         'mex/sources/k_order_welfare/k_ord_objective.cc',
-- 
GitLab