I think you should look into using the `$<TARGET_LINKER_FILE_DIR:tgt>` generator expression instead.