Add flags to avoid a lot of clang warnings on OS X 10.10

This commit is contained in:
David Capello 2015-06-01 14:42:59 -03:00
parent edd67ab4cd
commit 3425bcb0eb

View File

@ -36,6 +36,7 @@ if(USE_SKIA_BACKEND)
add_definitions(-DSK_BUILD_FOR_WIN32) add_definitions(-DSK_BUILD_FOR_WIN32)
elseif(APPLE) elseif(APPLE)
add_definitions(-DSK_BUILD_FOR_MAC) add_definitions(-DSK_BUILD_FOR_MAC)
add_definitions(-Wno-ignored-attributes -Wno-unused-result)
endif() endif()
if(CMAKE_BUILD_TYPE STREQUAL Debug) if(CMAKE_BUILD_TYPE STREQUAL Debug)