mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-07 14:20:06 -06:00
These flags are only needed for builds involving shared libraries, and can cause undesirable behavior when they are not needed. They also have variants with values like `=2`. For now, just require projects to add the flags when needed so they have full control. In the future we may be able to add an abstraction to control them, and automatically enable them when linking to shared libraries or creating them. Fixes: #27232 Issue: #27240