File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -21,8 +21,18 @@ set( CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin" )
21
21
set ( CMAKE_CXX_STANDARD 20 )
22
22
23
23
if ( UNIX )
24
- set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Wno-unused-parameter -Wno-cast-function-type -Wsign-compare -Werror" )
25
- set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Wno-unused-parameter -Wno-cast-function-type -Wsign-compare -Werror" )
24
+ set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} \
25
+ -Wall -Wextra \
26
+ -Wno-unused-parameter \
27
+ -Wno-cast-function-type \
28
+ -Wno-unused-command-line-argument \
29
+ -Wsign-compare -Werror" )
30
+ set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} \
31
+ -Wall -Wextra \
32
+ -Wno-unused-parameter \
33
+ -Wno-cast-function-type \
34
+ -Wno-unused-command-line-argument \
35
+ -Wsign-compare -Werror" )
26
36
if (USE_COVERAGE )
27
37
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} --coverage" )
28
38
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --coverage" )
You can’t perform that action at this time.
0 commit comments