Skip to content

Commit 2a5a160

Browse files
committed
Warn for unknown warning options
1 parent e2a5806 commit 2a5a160

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ if("${CMAKE_C_COMPILER_FRONTEND_VARIANT}" STREQUAL "MSVC")
5252
else()
5353
add_compile_options($<$<COMPILE_LANGUAGE:C,CXX>:-Wextra>)
5454
endif()
55-
add_compile_options($<$<COMPILE_LANGUAGE:C,CXX>:-Wno-unknown-warning-option>)
5655
add_compile_options($<$<COMPILE_LANGUAGE:C,CXX>:-Wno-unused-parameter>)
5756
add_compile_options($<$<COMPILE_LANGUAGE:C,CXX>:-Wno-unused-value>)
5857
add_compile_options($<$<COMPILE_LANG_AND_ID:C,AppleClang,Clang>:-Wno-unused-function>)

0 commit comments

Comments
 (0)