summaryrefslogtreecommitdiff
path: root/cogl/tests/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'cogl/tests/meson.build')
-rw-r--r--cogl/tests/meson.build4
1 files changed, 3 insertions, 1 deletions
diff --git a/cogl/tests/meson.build b/cogl/tests/meson.build
index 4bb186424..0d76c8bc9 100644
--- a/cogl/tests/meson.build
+++ b/cogl/tests/meson.build
@@ -6,7 +6,9 @@ cdata.set('HAVE_GLES2', have_gles2.to_int())
cogl_installed_tests_libexecdir = join_paths(
mutter_installed_tests_libexecdir, 'cogl', 'conform')
-install_data('run-tests.sh', install_dir: cogl_installed_tests_libexecdir)
+if have_installed_tests
+ install_data('run-tests.sh', install_dir: cogl_installed_tests_libexecdir)
+endif
cogl_config_env = configure_file(
input: 'config.env.in',