Open
Description
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.