forgottenserver icon indicating copy to clipboard operation
forgottenserver copied to clipboard

Cleanup enabling IPO in CMake

Open ranisalt opened this issue 1 year ago • 0 comments

Pull Request Prelude

Changes Proposed

Cleanup enabling IPO (LTO) by setting the global value CMAKE_INTERPROCEDURAL_OPTIMIZATION which sets the default value for INTERPROCEDURAL_OPTIMIZATION in all targets rather than enabling in each target.

Additionally, CMP0069 does not need to be set to NEW since we require a minimum version of CMake 3.19, while it is already set to NEW when the minimum required version is 3.9 or higher.

ranisalt avatar Aug 26 '24 16:08 ranisalt