#1207 Don't build mt-test by default. It requires C++11. G++ 5.3 will not compile #include <exiv2/exiv2.hpp> because AutoPtr is deprecated.

v0.27.3
Robin Mills 9 years ago
parent ebfd26fb75
commit 208b5110ae

@ -87,7 +87,6 @@ BINSRC = addmoddel.cpp \
OTHERSRC = exiv2json.cpp \
geotag.cpp \
metacopy.cpp \
mt-test.cpp \
path-test.cpp \
toexv.cpp
@ -184,7 +183,7 @@ exiv2json: %: %.cpp Jzon.o
# mt-test requires C++11
mt-test: %: %.cpp
$(COMPILE.cc) -std=c++11 -stdlib=libc++ -o $@.o $<
$(COMPILE.cc) -std=c++11 -o $@.o $<
@$(MAKEDEPEND)
@$(POSTDEPEND)
$(LIBTOOL) --mode=link $(LINK.cc) $@.o -o ../bin/$@

Loading…
Cancel
Save