--- CMakeLists.txt.orig 2013-12-23 21:06:50.000000000 +0900 +++ CMakeLists.txt 2013-12-23 21:07:00.000000000 +0900 @@ -35,6 +35,8 @@ INCLUDE(MacroOptionalAddSubdirectory) INCLUDE(FindPackageHandleStandardArgs) +SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-return-type") + # NOTE: Libraw 0.16.x is prefered version to use because it's ported to Cmake with full features supported. # Until libraw 0.16.0 is release (ends of 2013), we will support previous version (with limited support) FIND_PACKAGE(LibRaw 0.15 REQUIRED)