Cmake sets compilation flag /FR
Hi,
Using VS2017, Cmake 3.17.3, Windows
CMake sets the compilation flag /FR, which generates this warning for a 3rd party code i use:
warning BK4504: file contains too many references; ignoring further references from this source
As i can't change the 3rd party code, I would need a method to remove the flag cmake is adding. The BSCMake output (which is controlled by /FR) is of no use to me, see https://github.com/MicrosoftDocs/cpp-docs/issues/975
Also generating BSC files prolongs the build time needlessly.
Thanks