Skip to content

Commit 34969a8

Browse files
committed
allow warnings in build
1 parent d7bf1a3 commit 34969a8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ if(MSVC)
2525
string(REPLACE "/EHsc" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
2626

2727
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "GNU" OR CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
28-
set(CMAKE_CXX_FLAGS "-std=c++11 -Wall -Werror -Wno-unused -Wno-sign-compare")
28+
set(CMAKE_CXX_FLAGS "-std=c++11 -Wall -Wno-unused -Wno-sign-compare")
2929
set(CMAKE_CXX_FLAGS_DEBUG "-g -O0")
3030
set(CMAKE_CXX_FLAGS_RELEASE "-Os")
3131
else()

0 commit comments

Comments
 (0)