Skip to content
Snippets Groups Projects
Forked from CMake / CMake
17687 commits behind the upstream repository.
  • Robert Maynard's avatar
    d1929185
    Modules: Do not implicitly add new functions via old Check Modules · d1929185
    Robert Maynard authored and Brad King's avatar Brad King committed
    The conversion of Check<Lang>CompilerFlag, SourceCompiles, and
    SourceRuns over to the new functions has the possibility of breaking
    projects that had functions with those existing names.
    
    To reduce the possibility of collisions we now have all the
    legacy code call functions that start with `cmake_`, and users
    will need to explicitly include the new modules to get the
    non-prefixed versions
    
    Fixes: #21359
    d1929185
    History
    Modules: Do not implicitly add new functions via old Check Modules
    Robert Maynard authored and Brad King's avatar Brad King committed
    The conversion of Check<Lang>CompilerFlag, SourceCompiles, and
    SourceRuns over to the new functions has the possibility of breaking
    projects that had functions with those existing names.
    
    To reduce the possibility of collisions we now have all the
    legacy code call functions that start with `cmake_`, and users
    will need to explicitly include the new modules to get the
    non-prefixed versions
    
    Fixes: #21359
CheckOBJCSourceCompiles.cmake 3.25 KiB