Skip to content

file(GENERATE): Add policy CMP0070 to define relative path behavior

Brad King requested to merge brad.king/cmake:file-generate-relative-paths into master

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)

Merge request reports

Loading