Commit 57dc317f authored by Carlos Garnacho's avatar Carlos Garnacho

build: Do not use meson.source_root()

As advised in the meson porting wiki page.
parent 3dc84f26
...@@ -12,7 +12,7 @@ libtracker_data_slow_tests = [ ...@@ -12,7 +12,7 @@ libtracker_data_slow_tests = [
] ]
libtracker_data_test_environment = environment() libtracker_data_test_environment = environment()
libtracker_data_test_environment.set('TRACKER_LANGUAGE_STOP_WORDS_DIR', '@0@/src/libtracker-common/stop-words'.format(meson.source_root())) libtracker_data_test_environment.set('TRACKER_LANGUAGE_STOP_WORDS_DIR', '@0@/src/libtracker-common/stop-words'.format(source_root))
libtracker_data_test_deps = [tracker_common_dep, tracker_data_dep] libtracker_data_test_deps = [tracker_common_dep, tracker_data_dep]
......
...@@ -19,11 +19,11 @@ libtracker_miner_test_c_args = [ ...@@ -19,11 +19,11 @@ libtracker_miner_test_c_args = [
'-DTEST', '-DTEST',
'-DTEST_DATA_DIR="@0@/data"'.format(meson.current_source_dir()), '-DTEST_DATA_DIR="@0@/data"'.format(meson.current_source_dir()),
'-DTEST_MINERS_DIR="@0@/mock-miners"'.format(meson.current_source_dir()), '-DTEST_MINERS_DIR="@0@/mock-miners"'.format(meson.current_source_dir()),
'-DTEST_ONTOLOGIES_DIR="@0@/src/ontologies/nepomuk"'.format(meson.source_root()), '-DTEST_ONTOLOGIES_DIR="@0@/src/ontologies/nepomuk"'.format(source_root),
] ]
libtracker_miner_test_environment = environment() libtracker_miner_test_environment = environment()
libtracker_miner_test_environment.set('TRACKER_LANGUAGE_STOP_WORDS_DIR', '@0@/src/libtracker-common/stop-words'.format(meson.source_root())) libtracker_miner_test_environment.set('TRACKER_LANGUAGE_STOP_WORDS_DIR', '@0@/src/libtracker-common/stop-words'.format(source_root))
libtracker_miner_test_deps = [tracker_common_dep, tracker_miner_dep, tracker_sparql_dep] libtracker_miner_test_deps = [tracker_common_dep, tracker_miner_dep, tracker_sparql_dep]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment