From 03dbcad5ba7fb4aceb5a3f15da80e89c7ca252d8 Mon Sep 17 00:00:00 2001 From: M374LX Date: Tue, 11 Aug 2026 17:29:25 -0300 Subject: [PATCH] Makefile: add QuartzCore framework when building for macOS --- src/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Makefile b/src/Makefile index 6d918215a..f0d92a567 100644 --- a/src/Makefile +++ b/src/Makefile @@ -655,7 +655,7 @@ ifeq ($(TARGET_PLATFORM),PLATFORM_DESKTOP_GLFW) #LDLIBS += -latomic endif ifeq ($(PLATFORM_OS),OSX) - LDLIBS = -framework OpenGL -framework Cocoa -framework IOKit -framework CoreAudio -framework CoreVideo + LDLIBS = -framework OpenGL -framework Cocoa -framework IOKit -framework CoreAudio -framework CoreVideo -framework QuartzCore endif ifeq ($(PLATFORM_OS),BSD) LDLIBS = -lGL -lpthread @@ -707,7 +707,7 @@ ifeq ($(TARGET_PLATFORM),PLATFORM_DESKTOP_RGFW) ifeq ($(PLATFORM_OS),OSX) # Libraries for Debian MacOS desktop compiling # NOTE: Required packages: libegl1-mesa-dev - LDLIBS += -lm -framework Foundation -framework AppKit -framework IOKit -framework OpenGL -framework CoreVideo + LDLIBS += -lm -framework Foundation -framework AppKit -framework IOKit -framework OpenGL -framework CoreVideo -framework QuartzCore endif endif ifeq ($(TARGET_PLATFORM),PLATFORM_DRM)