Browse Source

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

pull/2/head
Gautier Pelloux-Prayer 10 years ago
parent
commit
51d0d1dda4
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      CMakeLists.txt

+ 4
- 1
CMakeLists.txt View File

@ -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)


Loading…
Cancel
Save