• Stephen Kelly's avatar
    Use --sysroot when cross compiling. · de4da665
    Stephen Kelly authored
    As CMAKE_ROOT_FIND_PATH can be a list, a new CMAKE_SYSROOT is
    introduced, which is never a list.
    The contents of this variable is passed to supporting compilers
    as --sysroot. It is also accounted for when processing implicit
    link directories reported by the compiler, and when generating
    RPATH information.
GNU.cmake 2.49 KB