Skip to content
  • Stephen Kelly's avatar
    CMakeDetermineCompilerId: Look for internal file only on host · f41ecd1d
    Stephen Kelly authored and Brad King's avatar Brad King committed
    The find_file this module uses to locate the compiler id source file
    must always look on the host and never in CMAKE_FIND_ROOT_PATH, even
    when a toolchain file has
    
     set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
    
    Add NO_CMAKE_FIND_ROOT_PATH to the find_file call to avoid rerooting.
    f41ecd1d