diff --git a/lib/fosphor/Makefile b/lib/fosphor/Makefile index 1f2eeb9..a1ea187 100644 --- a/lib/fosphor/Makefile +++ b/lib/fosphor/Makefile @@ -2,6 +2,9 @@ UNAME=$(shell uname) CC=gcc CFLAGS=-Wall -Werror -O2 `pkg-config freetype2 glfw3 --cflags` -g LDLIBS=`pkg-config freetype2 glfw3 --libs` -lm +ifneq ($(AMDAPPSDKROOT), ) +CFLAGS+=-I$(AMDAPPSDKROOT)/include +endif ifeq ($(UNAME), Linux) LDLIBS+=-lOpenCL -lGL endif