file(GENERATE): Add policy CMP0070 to define relative path behavior
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 (closed)