Commit 712edb04 authored by gensmusic's avatar gensmusic Committed by Lucas Hosseini

tutorial build add CPPFLAGS which contains cuda include pathi when ./configure --with-cuda (#833)

parent 5d1ed5b6
......@@ -18,7 +18,7 @@ cpu: $(CPU_TARGETS)
gpu: $(GPU_TARGETS)
%: %.cpp ../../libfaiss.a
$(CXX) $(CXXFLAGS) -o $@ $^ $(LDFLAGS) -I../../.. $(LIBS)
$(CXX) $(CXXFLAGS) $(CPPFLAGS) -o $@ $^ $(LDFLAGS) -I../../.. $(LIBS)
clean:
rm -f $(CPU_TARGETS) $(GPU_TARGETS)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment