Skip to content

Hard-code some try_compile results for third-party libraries

Brad King requested to merge brad.king/cmake:reduce-try_compile into master

Our bundled third-party libraries perform many try_compile checks for compatibility with their upstream build systems. For many of the checks we already know the result for compilers we support for building CMake itself, especially on Windows. Hard-code known results to avoid running the checks.

Merge request reports