Open phlptp opened 3 years ago
I do not have permission from my organization to submit PR's to the libzmq github, otherwise I would make a pr with the fix.
CMake will override some of your settings and add /INCREMENTAL into the CMakeCache.txt file. The user is expected to override some of these compiler and linker flags either with cmake options at command prompt or in the CMakeCache.txt.
You can look within CMakeCache.txt to see this happening.
Please use this template for reporting suspected bugs or requests for help.
Issue description
On MSVC this warning is generated
This does not affect compilation but not having the warning would be good.
This issue is that in CMAKE on multi-configuration builds specifically on MSVC this bit of code does not skip for the debug configuration which is why the warning is generated.
so we get conflicting flags in the debug configuration
the most appropriate fix would likely be
when tested on my system with visual studio 2019 this resolves the warning
Environment
What's the actual result? (include assertion message & call stack if applicable)
What's the expected result?
No warning