Added better handling of failures loading icons, as Cairo generated exception were crashing app under windows. Minor fix to handling missing processing params to not alter the global defaults.
This commit is contained in:
13
rtexif/CMakeLists.txt
Normal file
13
rtexif/CMakeLists.txt
Normal 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)
|
Reference in New Issue
Block a user