Skip to content

Commit f0d3abd

Browse files
committed
Do not error on unused compile flags
1 parent a125c5c commit f0d3abd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ if (CMAKE_BUILD_TYPE STREQUAL "Debug")
5959
# Ignore known non-concerning warnings
6060
add_compile_options("$<$<COMPILE_LANGUAGE:C>:-Wno-override-init>")
6161
add_compile_options(-Wno-error=cpp) # #warning are not errors
62+
add_compile_options(-Wno-unused-command-line-argument) # All flags have a reason to be there, even if unused
6263

6364
# Enable code coverage
6465
add_compile_options(--coverage)

0 commit comments

Comments
 (0)