File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -127,10 +127,10 @@ endif()
127127
128128if (MSVC )
129129 add_compile_options (/MP /wd4244 /wd4311 /wd4003 /wd4047 /wd4477 /wd4068 /wd4133 /wd4311)
130- add_compile_options ("$<$<CONFIG:Debug>:/bigobj>" )
130+ add_compile_options ("$<$<AND:$< CONFIG:Debug>,$<COMPILE_LANGUAGE:CXX> >:/bigobj>" )
131131 add_link_options (/IGNORE :4286 /IGNORE :4217)
132132else ()
133- add_compile_options (-Wall -Wstrict-aliasing -Wuninitialized -Wno-conversion -Wno-overloaded-virtual -Wno-sign-compare -Wno-comment -Wno-unknown-pragmas -Wno-unused-result)
133+ add_compile_options (-Wall -Wstrict-aliasing -Wuninitialized -Wno-conversion -Wno-overloaded-virtual -Wno-sign-compare -Wno-comment -Wno-unknown-pragmas -Wno-unused-result -Wno-attributes )
134134 add_link_options (-Wno-psabi)
135135endif ()
136136
You can’t perform that action at this time.
0 commit comments