diff --git a/CMakeLists.txt b/CMakeLists.txt index 165c546..dac811a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -70,7 +70,10 @@ add_definitions(-DHAVE_CONFIG_H) if(MSVC) add_definitions("/W3") else() - add_definitions("-Wall" "-Werror") + add_definitions("-Wall") + if (NOT IOS) + add_definitions("-Werror") + endif() endif() add_subdirectory(src)