From 355e726e4a000cf987051180bceeed34df9858d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=A4rkl?= Date: Wed, 13 Feb 2019 20:38:02 +0100 Subject: [PATCH] Fix Meson Scripts Paths (#1193) --- src/meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/meson.build b/src/meson.build index 790bcabb..a91325fd 100644 --- a/src/meson.build +++ b/src/meson.build @@ -17,7 +17,7 @@ if get_option('enable_jupyter') endif endif -parse_cmd = [py3_exe, '../scripts/meson_parse_qmake.py'] +parse_cmd = [py3_exe, join_paths(meson.current_source_dir(), '../scripts/meson_parse_qmake.py')] qt_modules += run_command(parse_cmd + ['QT'], check: true).stdout().split(';') sources = run_command(parse_cmd + ['SOURCES'], check: true).stdout().split(';') @@ -34,7 +34,7 @@ conf_json = '''{"CUTTER_VERSION_MAJOR":@0@, version_major, version_minor, version_patch) configure_file(input: 'CutterConfig.h.in', output: 'CutterConfig.h', - command: [py3_exe, '../scripts/meson_configure_qmake_in.py', '@INPUT@', '@OUTPUT0@', conf_json]) + command: [py3_exe, join_paths(meson.current_source_dir(), '../scripts/meson_configure_qmake_in.py'), '@INPUT@', '@OUTPUT0@', conf_json]) conf_inc = include_directories('.') sp_dir = join_paths(meson.source_root(), 'subprojects')