<div><div dir="auto">You also need to edit <a href="http://configure.ac" target="_blank">configure.ac</a> to to account for this change to $(METAL_LIBS) else when metal is detected quartzcore will be added again.</div><div dir="auto"><br></div><div dir="auto">What SDK was used for this compile that failed?</div><div dir="auto"><br></div><div dir="auto">On Sat, Dec 11, 2021 at 4:22 AM Keno Fischer <<a href="mailto:keno@juliacomputing.com" target="_blank">keno@juliacomputing.com</a>> wrote:<br></div></div><div><div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)">The build was relying on QuartzCore definitions even if<br>
Metal was not found, so move the appropriate import out<br>
of the ifdef and add the QuartzCore framework to the<br>
make line.<br>
<br>
Signed-off-by: Keno Fischer <<a href="mailto:keno@juliacomputing.com" target="_blank">keno@juliacomputing.com</a>><br>
---<br>
 dlls/winemac.drv/Makefile.in    | 2 +-<br>
 dlls/winemac.drv/cocoa_window.m | 2 +-<br>
 2 files changed, 2 insertions(+), 2 deletions(-)<br>
<br>
diff --git a/dlls/winemac.drv/Makefile.in b/dlls/winemac.drv/Makefile.in<br>
index 6329e8e76c8..fc3dddbdae7 100644<br>
--- a/dlls/winemac.drv/Makefile.in<br>
+++ b/dlls/winemac.drv/Makefile.in<br>
@@ -1,7 +1,7 @@<br>
 MODULE    = winemac.drv<br>
 IMPORTS   = uuid rpcrt4 user32 gdi32 advapi32 win32u<br>
 DELAYIMPORTS = ole32 shell32 imm32<br>
-EXTRALIBS = -framework AppKit -framework Carbon -framework Security -framework OpenGL -framework IOKit -framework CoreVideo $(METAL_LIBS)<br>
+EXTRALIBS = -framework AppKit -framework Carbon -framework Security -framework OpenGL -framework IOKit -framework CoreVideo -framework QuartzCore $(METAL_LIBS)<br>
<br>
 EXTRADLLFLAGS = -mcygwin<br>
<br>
diff --git a/dlls/winemac.drv/cocoa_window.m b/dlls/winemac.drv/cocoa_window.m<br>
index d0672b7fb06..a18fc069604 100644<br>
--- a/dlls/winemac.drv/cocoa_window.m<br>
+++ b/dlls/winemac.drv/cocoa_window.m<br>
@@ -25,8 +25,8 @@<br>
 #import <CoreVideo/CoreVideo.h><br>
 #ifdef HAVE_METAL_METAL_H<br>
 #import <Metal/Metal.h><br>
-#import <QuartzCore/QuartzCore.h><br>
 #endif<br>
+#import <QuartzCore/QuartzCore.h><br>
<br>
 #import "cocoa_window.h"<br>
<br>
-- <br>
2.25.1<br>
<br>
<br>
</blockquote></div></div>
</div>