I have a CMake project, which I am building with Microsoft Visual Studio 2019. I am trying to fix and remove all warnings, but there is one type which I can't disable or fix.
All of them are of the type:
Command line warning D9025: overriding '/W4' with '/w'
Command line warning D9025: overriding '/W3' with '/W4'
I tried fixing them, but I can't find out what's causing all of them.
My question is:
How can I disable the warnings using CMake? Or is there a surefire way to find the underlying cause of them and fix them?