Link against Cg framework on OSX.

This commit is contained in:
Themaister 2012-10-15 11:01:15 +02:00
parent 298600781c
commit 2af0a43ad0
1 changed files with 5 additions and 1 deletions

View File

@ -222,8 +222,12 @@ endif
ifeq ($(HAVE_CG), 1)
OBJ += gfx/shader_cg.o
ifeq ($(OSX), 1)
LIBS += -framework Cg
else
LIBS += -lCg -lCgGL
endif
endif
ifeq ($(HAVE_XML), 1)
OBJ += cheats.o