Skip to content
Snippets Groups Projects
Commit 1f17015c authored by Keno Fischer's avatar Keno Fischer Committed by Alexandre Julliard
Browse files

winemac: Unconditionally link to QuartzCore.

This fixes non-Metal builds.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52216


Signed-off-by: default avatarKeno Fischer <keno@juliacomputing.com>
Signed-off-by: default avatarHuw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard's avatarAlexandre Julliard <julliard@winehq.org>
parent 60faf44e
No related branches found
No related tags found
No related merge requests found
......@@ -10322,7 +10322,7 @@ fi
fi
if test "$ac_cv_header_Metal_Metal_h" = "yes"
then
METAL_LIBS="-framework Metal -framework QuartzCore"
METAL_LIBS="-framework Metal"
 
fi
 
......
......@@ -757,7 +757,7 @@ case $host_os in
fi
if test "$ac_cv_header_Metal_Metal_h" = "yes"
then
AC_SUBST(METAL_LIBS,"-framework Metal -framework QuartzCore")
AC_SUBST(METAL_LIBS,"-framework Metal")
fi
dnl Check for MTLDevice registryID property
......
MODULE = winemac.drv
IMPORTS = uuid rpcrt4 user32 gdi32 advapi32 win32u
DELAYIMPORTS = ole32 shell32 imm32
EXTRALIBS = -framework AppKit -framework Carbon -framework Security -framework OpenGL -framework IOKit -framework CoreVideo $(METAL_LIBS)
EXTRALIBS = -framework AppKit -framework Carbon -framework Security -framework OpenGL -framework IOKit -framework CoreVideo -framework QuartzCore $(METAL_LIBS)
EXTRADLLFLAGS = -mcygwin
......
......@@ -25,8 +25,8 @@
#import <CoreVideo/CoreVideo.h>
#ifdef HAVE_METAL_METAL_H
#import <Metal/Metal.h>
#import <QuartzCore/QuartzCore.h>
#endif
#import <QuartzCore/QuartzCore.h>
#import "cocoa_window.h"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment