From 087ded0c71e12f43058d8d817ca7d3a1c07c15ad Mon Sep 17 00:00:00 2001 From: Jim Tilander Date: Sun, 1 Feb 2015 11:02:33 -0800 Subject: [PATCH] If you install with brew, it also installs links into /usr/local -- and if the version changes having the extra link line here will cause warnings. --- examples/opengl_example/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/opengl_example/Makefile b/examples/opengl_example/Makefile index ae08a231..8d7091e5 100644 --- a/examples/opengl_example/Makefile +++ b/examples/opengl_example/Makefile @@ -30,10 +30,10 @@ ifeq ($(UNAME_S), Darwin) #APPLE ECHO_MESSAGE = "Mac OS X" LIBS = -framework OpenGL -framework Cocoa -framework IOKit -framework CoreVideo - LIBS += -L/usr/local/Cellar/glew/1.10.0/lib -L/usr/local/lib + LIBS += -L/usr/local/lib LIBS += -lglew -lglfw3 - CXXFLAGS = -I../../ -I/usr/local/Cellar/glew/1.10.0/include -I/usr/local/include + CXXFLAGS = -I../../ -I/usr/local/include CXXFLAGS += -Wall # CXXFLAGS += -D__APPLE__ endif