[meson] Check correct dependency

Ouch!
This commit is contained in:
Behdad Esfahbod committed 2025-03-10 23:40:22 -06:00
1 parent dbad6cdfec
commit 57deae5fd4
1 file changed
+1 -1
+1 -1
View File
@@ -314,7 +314,7 @@ endif
gdi_uniscribe_deps = []
# GDI (Uniscribe) (Windows)
if host_machine.system() == 'windows' and not get_option('gdi').disabled()
if (get_option('directwrite').enabled() and
if (get_option('gdi').enabled() and
not (cpp.has_header('usp10.h') and cpp.has_header('windows.h')))
error('GDI/Uniscribe was enabled explicitly, but required headers are missing.')
endif