• Brad King's avatar
    add_custom_{command,target}: Fix WORKING_DIRECTORY leading genex · 98d59417
    Brad King authored
    Since commit v3.13.0-rc1~39^2 (add_custom_{command,target}:
    WORKING_DIRECTORY generator expressions, 2018-09-22) the
    `WORKING_DIRECTORY` option accepts generator expressions.
    Fix support for the case of a leading generator expression
    by deferring conversion to an absolute path until after
    evaluation of the generator expression.
    Fixes: #18543
CMakeLists.txt 2.45 KB