Skip to content

add_custom_{command,target}: Fix WORKING_DIRECTORY leading genex

Since !2409 (merged) the WORKING_DIRECTORY option accepts generator expressions. Fix support for the case of a leading generator expression to assume that it will expand to an absolute path. This convention is already followed by several other commands, such as install().

Fixes: #18543 (closed)

Merge request reports