gl/meson: detect valid configuration from enabled apis/platform/winsys
authorMatthew Waters <matthew@centricular.com>
Wed, 23 Aug 2017 06:32:57 +0000 (16:32 +1000)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:32:30 +0000 (19:32 +0000)
gst-libs/gst/gl/meson.build

index 78bdfd010afa14fc5cbe1f41795866ea2fe6db0f..0c2c00153362e00414bf3d6d16e4dcd41e878df0 100644 (file)
@@ -591,15 +591,15 @@ endif
 # iOS, OS X, win32 specific support
 
 build_gstgl = true
-if gl_lib_deps.length() == 0
+if enabled_gl_apis.length() == 0
   message('No OpenGL API libraries found or requested')
   build_gstgl = false
 endif
-if gl_platform_deps.length() == 0
+if enabled_gl_platforms.length() == 0
   message('No OpenGL Platforms found or requested')
   build_gstgl = false
 endif
-if gl_winsys_deps.length() == 0
+if enabled_gl_winsys.length() == 0
   message('No OpenGL Window systems found or requested')
   build_gstgl = false
 endif