Manually set c++11 standard

Fix compilation on mac os. On ubuntu works too.
This commit is contained in:
Dima Granetchi 2017-07-13 14:12:44 +03:00 committed by GitHub
parent b33f12c3c2
commit 9ec066f3d9

View file

@ -1,7 +1,7 @@
default: tiv default: tiv
tiv.o: tiv.cpp CImg.h tiv.o: tiv.cpp CImg.h
g++ -Wall -fexceptions -O2 -c tiv.cpp -o tiv.o g++ -std=c++11 -Wall -fexceptions -O2 -c tiv.cpp -o tiv.o
tiv : tiv.o tiv : tiv.o
g++ tiv.o -o tiv -pthread -s g++ tiv.o -o tiv -pthread -s