Skip to content
  • Gregor Jasny's avatar
    Darwin: Use _CMAKE_EFFECTIVE_SYSTEM_NAME to lookup compiler info · 54f54269
    Gregor Jasny authored
    Because macOS, iOS, tvOS, and watchOS could share the same compiler
    information, replace CMAKE_SYSTEM_NAME by _CMAKE_EFFECTIVE_SYSTEM_NAME
    to allow sharing the Platform/Darwin-${CMAKE_CXX_COMPILER_ID}-<LANG>
    across all of those system names.
    
    Tha saves duplication of 4 * 21 compiler setting files.
    
    Issue: #17870
    54f54269