summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBogDan Vatra <bogdan@kde.org>2021-02-26 09:27:02 +0200
committerBogDan Vatra <bogdan@kde.org>2021-02-26 09:27:02 +0200
commit72700d16440ef8663a9e8d73a7debd270fde9950 (patch)
treeb0f59a02cd8f5ad3e35e8047681d8e7beebd5b81
parentc274c355838fc7d36774df4f7425e8a67d2e9b89 (diff)
downloadgtk+-72700d16440ef8663a9e8d73a7debd270fde9950.tar.gz
Allow GTK4 to be added as a subproject
-rw-r--r--meson.build4
1 files changed, 3 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index f3dba9d276..145a848a86 100644
--- a/meson.build
+++ b/meson.build
@@ -810,7 +810,9 @@ else
message('Not executing post-install steps automatically when cross compiling')
endif
-meson.add_dist_script('build-aux/meson/dist-theme.py')
+if not meson.is_subproject()
+ meson.add_dist_script('build-aux/meson/dist-theme.py')
+endif
if host_machine.system() != 'windows'
# Install Valgrind suppression files (except on Windows,