Skip to content

target_link_system_libraries might not work with unqouted inputs #258

Open
@aminya

Description

@aminya

When using target_link_system_libraries, sometimes the packages provide both optimized and debug targets.
However, when using

target_link_system_libraries(main PRIVATE ${FOUND_LIBRARIES})

It does not work since the separate optimized/debug values are treated as separate libraries instead of one library.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions