#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.
This commit is contained in:
+1
-2
@@ -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/$@
|
||||
|
||||
Reference in New Issue
Block a user