pybind11NewTools.cmake
9.02 KB
-
fix: Don't override global settings for VISIBILITY if set (#2793) · 230fa53f
Sometimes programmers want to control this, and while it can be changed after the fact, it's commonly set via a CMAKE_ variable; if that variable is set, we should respect that (like the CMAKE_INTERPROCEDURAL_OPTIMIZATION setting).
Henry Schreiner committed