We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a5bec6 commit feb39cfCopy full SHA for feb39cf
1 file changed
CMakeLists.txt
@@ -38,9 +38,9 @@ cable_configure_compiler()
38
add_compile_options(
39
-Wcast-qual
40
-Wcast-align
41
- -Wextra-semi
42
-Wmissing-declarations
43
- -Wold-style-cast
+ $<$<COMPILE_LANGUAGE:CXX>:-Wextra-semi>
+ $<$<COMPILE_LANGUAGE:CXX>:-Wold-style-cast>
44
)
45
cable_add_cxx_compiler_flag_if_supported(-Wfinal-dtor-non-final-class)
46
cable_add_cxx_compiler_flag_if_supported(-Wnewline-eof)
0 commit comments