Fix Meson Scripts Paths (#1193)

This commit is contained in:
Florian Märkl 2019-02-13 20:38:02 +01:00 committed by xarkes
parent 2132b5cb09
commit 355e726e4a

View File

@ -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')