build: Fix building with introspection disabled and testsuite enabled
authorPatrick Griffis <pgriffis@igalia.com>
Mon, 24 Jul 2023 00:30:30 +0000 (19:30 -0500)
committerPatrick Griffis <pgriffis@igalia.com>
Mon, 24 Jul 2023 00:30:30 +0000 (19:30 -0500)
The headless tests are written in Python and need g-i.

testsuite/meson.build

index d44b08a06331492fee1b2e684d0cddea550f1c4c..5ec1634e5312d285acf4d5e914fd1213142c7a41 100644 (file)
@@ -70,7 +70,9 @@ subdir('tools')
 subdir('reftests')
 if build_gir
   subdir('introspection')
+
+  if wayland_enabled
+    subdir('headless')
+  endif
 endif
-if wayland_enabled
-  subdir('headless')
-endif
+