[CMake] Remove compilation flags for a given target

Benjamin Orgogozo borgogozo at antidot.net
Tue Apr 9 02:47:30 EDT 2019


On Fri, Apr 05, 2019 at 07:56:25PM -0700, Marc Herbert wrote:
>    Instead of removing, have you tried appending the -Wno-fubar flag that
>    turns back off these
>    specific warnings for these specific files?

Ah, yes, it will actually work... Not the answer that I was expecting
but clearly a solution for this particular problem.
I find it strange that there is no way to remove properties from a
target but it seems that it is really not possible...

Thanks for you help!

-- 
 Benjamin Orgogozo


More information about the CMake mailing list