• Brad King's avatar
    file(GENERATE): Add policy CMP0070 to define relative path behavior · 82be694c
    Brad King authored
    Previously `file(GENERATE)` did not define any behavior for relative
    paths given to the `OUTPUT` or `INPUT` arguments.  Define behavior
    consistent with CMake conventions and add a policy to provide
    compatibility for projects that relied on the old accidental behavior.
    Fixes: #16786