Skip to content
  • Brad King's avatar
    CMakeDetermineCompilerId: Refactor id build/check loop logic · 5f0dad75
    Brad King authored
    Callers of CMAKE_DETERMINE_COMPILER_ID initialize the
    CMAKE_${lang}_COMPILER_ID to unset so we can check it at the end of each
    loop iteration instead of the beginning.  This approach allows us to
    break out of the loop as soon as we succeed.  It will also allow checks
    to be added in more places within the loop later.
    5f0dad75