Fixed crash on faulty JPGs by GreatBull69; see issue #362

This commit is contained in:
Oliver Duis
2010-12-03 11:06:29 +01:00
commit f52810e56b
659 changed files with 140680 additions and 0 deletions

13
rtexif/CMakeLists.txt Normal file
View File

@@ -0,0 +1,13 @@
include_directories (.)
add_library (rtexif rtexif.cc stdattribs.cc nikonattribs.cc canonattribs.cc
pentaxattribs.cc fujiattribs.cc sonyminoltaattribs.cc olympusattribs.cc)
IF (WIN32)
set_target_properties (rtexif PROPERTIES COMPILE_FLAGS " -ffast-math -fexpensive-optimizations")
ELSE (WIN32)
set_target_properties (rtexif PROPERTIES COMPILE_FLAGS " -ffast-math -fexpensive-optimizations -fPIC")
ENDIF (WIN32)
IF (BUILD_SHARED_LIBS)
INSTALL(TARGETS rtexif DESTINATION ${LIBDIR})
ENDIF (BUILD_SHARED_LIBS)