projects/aports·blob master · refs

13 lines · 669 B

1diff --git a/CMakeLists.txt b/CMakeLists.txt
2index b004653..b239baf 100644
3--- a/CMakeLists.txt
4+++ b/CMakeLists.txt
5@@ -88,7 +88,7 @@ elseif (CMAKE_CXX_COMPILER_ID STREQUAL "Intel")
6 # ?? Don't have this to test with
7 else() # GCC or Clang are mostly compatible:
8 # Turn on warnings and enable warnings-as-errors:
9- add_compile_options(-Wall -Wformat-security -Wvla -Werror)
10+ add_compile_options(-Wall -Wformat-security -Wvla)
11 # Turn off certain warnings that are too much pain for too little gain:
12 add_compile_options(-Wno-sign-compare -Wno-deprecated-declarations -Wno-error=cpp)
13 if (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" OR APPLE)