• Stephen Kelly's avatar
    Add CMAKE_SYSROOT variable to set --sysroot when cross compiling. · 7cd65c97
    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.5 KB