From 2af0a43ad065b9067352d7d59135a809e76d6b6c Mon Sep 17 00:00:00 2001 From: Themaister Date: Mon, 15 Oct 2012 11:01:15 +0200 Subject: [PATCH] Link against Cg framework on OSX. --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3200e090eb..b2f9ca4f78 100644 --- a/Makefile +++ b/Makefile @@ -222,7 +222,11 @@ endif ifeq ($(HAVE_CG), 1) OBJ += gfx/shader_cg.o - LIBS += -lCg -lCgGL + ifeq ($(OSX), 1) + LIBS += -framework Cg + else + LIBS += -lCg -lCgGL + endif endif ifeq ($(HAVE_XML), 1)