[libgda] Meson: fixes to use GDA as subproject



commit 9608b3c0da90b58e97b6435298d75415075a6170
Author: Daniel Espinosa <esodan gmail com>
Date:   Wed Mar 18 09:40:45 2020 -0600

    Meson: fixes to use GDA as subproject

 tests/meson.build | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/tests/meson.build b/tests/meson.build
index b649d6967..a33bb82a2 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -16,7 +16,7 @@ endif
 test_cargs = [
        '-include',
        join_paths(gda_top_build, 'config.h'),
-       '-DCHECK_FILES="'+meson.source_root()+'"',
+       '-DCHECK_FILES="'+gda_top_src+'"',
        '-DTOP_BUILD_DIR="'+gda_top_build+'"'
        ]
 test_cargs += general_cargs
@@ -211,9 +211,9 @@ tso = executable('test-server-operation-sqlite',
        ['test-server-operation-sqlite.c'] ,
        c_args: [
                '-include',
-               meson.build_root() + '/config.h',
-               '-DCHECK_FILES="'+meson.source_root()+'"',
-               '-DTOP_BUILD_DIR="'+meson.build_root()+'"'
+               gda_top_build + '/config.h',
+               '-DCHECK_FILES="'+gda_top_src+'"',
+               '-DTOP_BUILD_DIR="'+gda_top_build+'"'
                ],
        link_with: libgda,
        dependencies: [


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]