We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75a8ee0 commit cce330cCopy full SHA for cce330c
1 file changed
src/cmake/modules/myci.cmake
@@ -908,8 +908,8 @@ function(myci_declare_library name)
908
target_compile_options(${name} PRIVATE
909
-Wall
910
-Werror
911
- $<$<COMPILE_LANGUAGE:CXX>:-Wnon-virtual-dtor>
912
- $<$<COMPILE_LANGUAGE:CXX>:-fstrict-aliasing>
+ $<$<COMPILE_LANGUAGE:CXX>:-Wnon-virtual-dtor> # only for C++ files
+ -fstrict-aliasing
913
)
914
endif()
915
@@ -1190,8 +1190,8 @@ function(myci_declare_application name)
1190
1191
1192
1193
1194
1195
1196
1197
0 commit comments