diff --git a/build_system/targets/compilation/cython/targets.py b/build_system/targets/compilation/cython/targets.py index 4ced5aa71..050d8915d 100644 --- a/build_system/targets/compilation/cython/targets.py +++ b/build_system/targets/compilation/cython/targets.py @@ -52,7 +52,9 @@ def __init__(self): def run(self, build_unit: BuildUnit, module: Module): Log.info('Compiling Cython code in directory "%s"...', module.root_directory) - MesonConfigure(build_unit, module, build_options=BUILD_OPTIONS) + MesonConfigure(build_unit, module, build_options=BUILD_OPTIONS) \ + .add_dependencies('cython') \ + .run() MesonCompile(build_unit, module).run()