Fixing iOS clang warnings, part 3

This commit is contained in:
Maksim Shabunin
2014-10-17 16:46:47 +04:00
parent ef3d02214b
commit 571ebb2373
7 changed files with 16 additions and 16 deletions

View File

@@ -106,6 +106,10 @@ if(CMAKE_COMPILER_IS_GNUCXX)
add_extra_compiler_option(-march=i686)
endif()
if(APPLE)
add_extra_compiler_option(-Wno-semicolon-before-method-body)
endif()
# Other optimizations
if(ENABLE_OMIT_FRAME_POINTER)
add_extra_compiler_option(-fomit-frame-pointer)