Skip to content

IPO: Consider support for each language separately

Brad King requested to merge brad.king/cmake:ipo-per-lang into master

We only define INTERPROCEDURAL_OPTIMIZATION behavior for C, CXX, and Fortran languages. Do not try to enable support for other languages. Furthermore, each language builds with a different compiler, so check for support by CMake and the compiler for each language independently.

Fixes: #16944 (closed)

Merge request reports