diff options
author | William Roy <wroy@proton.me> | 2023-03-07 21:59:50 +0000 |
---|---|---|
committer | William Roy <wroy@proton.me> | 2023-03-07 21:59:50 +0000 |
commit | aaeec84d75ea46bba3c7857be43ad5416301f5b1 (patch) | |
tree | 2ef09ba3b9ff3149304ec951742a5fda2e41707d /demos | |
parent | 5822ba76d0edadec80921cf698e215e25c2cc532 (diff) | |
download | gtk+-aaeec84d75ea46bba3c7857be43ad5416301f5b1.tar.gz |
Fix compile_resources present source directory
In certain scenarios, address the issue where gnome.compile_resources
fails to transmit the present source directory. This is most notably
visible with MSBuild.
Diffstat (limited to 'demos')
-rw-r--r-- | demos/constraint-editor/meson.build | 2 | ||||
-rw-r--r-- | demos/gtk-demo/meson.build | 2 | ||||
-rw-r--r-- | demos/icon-browser/meson.build | 2 | ||||
-rw-r--r-- | demos/node-editor/meson.build | 2 | ||||
-rw-r--r-- | demos/widget-factory/meson.build | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/demos/constraint-editor/meson.build b/demos/constraint-editor/meson.build index 22f0496de9..f04abca6da 100644 --- a/demos/constraint-editor/meson.build +++ b/demos/constraint-editor/meson.build @@ -9,7 +9,7 @@ constraint_editor_sources = [ constraint_editor_resources = gnome.compile_resources('constraint_editor_resources', 'constraint-editor.gresource.xml', - source_dir: '.', + source_dir: meson.current_source_dir(), ) executable('gtk4-constraint-editor', diff --git a/demos/gtk-demo/meson.build b/demos/gtk-demo/meson.build index b1c21a9f9b..d115339bb6 100644 --- a/demos/gtk-demo/meson.build +++ b/demos/gtk-demo/meson.build @@ -225,7 +225,7 @@ if not meson.is_cross_build() and build_machine.cpu_family() != 'arm' and build_ else gtkdemo_resources = gnome.compile_resources('gtkdemo_resources', 'demo.gresource.xml', - source_dir: '.', + source_dir: meson.current_source_dir() ) endif diff --git a/demos/icon-browser/meson.build b/demos/icon-browser/meson.build index a1ae92619d..9a6a52a4ce 100644 --- a/demos/icon-browser/meson.build +++ b/demos/icon-browser/meson.build @@ -8,7 +8,7 @@ iconbrowser_sources = [ iconbrowser_resources = gnome.compile_resources('iconbrowser_resources', 'iconbrowser.gresource.xml', - source_dir: '.', + source_dir: meson.current_source_dir(), ) executable('gtk4-icon-browser', diff --git a/demos/node-editor/meson.build b/demos/node-editor/meson.build index 72d48cd12c..91ea0d6d69 100644 --- a/demos/node-editor/meson.build +++ b/demos/node-editor/meson.build @@ -7,7 +7,7 @@ node_editor_sources = [ node_editor_resources = gnome.compile_resources('node_editor_resources', 'node-editor.gresource.xml', - source_dir: '.', + source_dir: meson.current_source_dir(), ) executable('gtk4-node-editor', diff --git a/demos/widget-factory/meson.build b/demos/widget-factory/meson.build index 0513555a3f..bc4bb29478 100644 --- a/demos/widget-factory/meson.build +++ b/demos/widget-factory/meson.build @@ -69,7 +69,7 @@ if not meson.is_cross_build() and build_machine.cpu_family() != 'arm' and build_ else widgetfactory_resources = gnome.compile_resources('widgetfactory_resources', 'widget-factory.gresource.xml', - source_dir: '.', + source_dir: meson.current_source_dir(), ) endif |