CMakeLists.txt: do not activate -Werror on iOS (SDK not compiling otherwise)

parent 91d1206d
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment