Skip to content

Commit 7301825

Browse files
authored
treating warnings as errors no more (#901)
1 parent e66c0e4 commit 7301825

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,8 @@ if(CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME)
394394
include(GoogleTest)
395395

396396
add_compile_options($<$<COMPILE_LANGUAGE:CXX>:-Wall>)
397-
add_compile_options($<$<COMPILE_LANGUAGE:CXX>:-Werror>)
397+
# DR stopped to compile without warnings :(
398+
# add_compile_options($<$<COMPILE_LANGUAGE:CXX>:-Werror>)
398399

399400
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
400401
add_compile_options(-Wno-error=stringop-overflow=)

0 commit comments

Comments
 (0)