Invalid linker flag in genereated .pc file
Fixes invalid linker flag `vals-NOTFOUND` in generated `libtorrent-rasterbar.pc`. Fixes #4122
This commit is contained in:
parent
544158fd9b
commit
3b6ab35ae5
|
@ -30,6 +30,7 @@ endfunction()
|
|||
function(_get_target_property_merging_configs _var_name _target_name _propert_name)
|
||||
get_target_property(vals ${_target_name} ${_propert_name})
|
||||
if (NOT vals)
|
||||
set(vals "")
|
||||
if (CMAKE_BUILD_TYPE)
|
||||
list(APPEND configs ${CMAKE_BUILD_TYPE})
|
||||
elseif()
|
||||
|
|
Loading…
Reference in New Issue