浏览代码

Add the rest of the MacOS frameworks

rexim 1 周之前
父节点
当前提交
2ed95bd49c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Makefile

+ 1 - 1
Makefile

@@ -6,7 +6,7 @@ RGFW_CFLAGS+=		$(COMMON_CFLAGS)
 COMMON_LIBS=		-lm
 SDL2_LIBS=			`pkg-config --libs sdl2` $(COMMON_LIBS)
 ifeq ($(UNAMEOS),Darwin)
-RGFW_LIBS=			$(COMMON_LIBS) -framework OpenGL
+RGFW_LIBS=			$(COMMON_LIBS) -framework CoreVideo -framework Cocoa -framework OpenGL -framework IOKit
 else
 RGFW_LIBS=			-lX11 -lXrandr -lGLX -lGL $(COMMON_LIBS)
 endif