summaryrefslogtreecommitdiff
path: root/examples/application3
diff options
context:
space:
mode:
authorWilliam Roy <wroy@proton.me>2023-03-07 21:59:50 +0000
committerWilliam Roy <wroy@proton.me>2023-03-07 21:59:50 +0000
commitaaeec84d75ea46bba3c7857be43ad5416301f5b1 (patch)
tree2ef09ba3b9ff3149304ec951742a5fda2e41707d /examples/application3
parent5822ba76d0edadec80921cf698e215e25c2cc532 (diff)
downloadgtk+-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 'examples/application3')
-rw-r--r--examples/application3/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/application3/meson.build b/examples/application3/meson.build
index 082575d752..1dbc605592 100644
--- a/examples/application3/meson.build
+++ b/examples/application3/meson.build
@@ -1,6 +1,6 @@
app3_resources = gnome.compile_resources('exampleapp3_resources',
'exampleapp.gresource.xml',
- source_dir: '.')
+ source_dir: meson.current_source_dir())
executable('exampleapp3',
'exampleapp.c', 'exampleappwin.c', 'main.c', app3_resources,