mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-01 13:37:55 +08:00
6ee2fa9893
* Set policy CMP0063 to NEW This change enables CMake to set the symbol visibility of static libraries. Since poly2tri is compiled as a static library, without this change, it can lead to linker warnings about conflicting visibility settings if it is itself linked into a dynamic library. * fixup! Set policy CMP0063 to NEW * amend! Set policy CMP0063 to NEW Set default symbol visibility to hidden Policy CMP0063 enables CMake to set the symbol visibility of static libraries. Since poly2tri is compiled as a static library, without this change, the default symbol visibility cannot be set, leading to linker warnings about conflicting visibility settings if poly2tri is itself linked into a dynamic library.