libzip
libzip copied to clipboard
libzip-config: Fix variable substitutions
When @variables@ are not set, or set to an empty value, during configuration, the resulting substition is 'set(VARIABLE )'. This unsets the variable in the current scope when the config is used, make visible values from the parent scope. What is needed is setting variables to an empty value in the current scope. This is achieved by adding quotes.
(Noticed while updating the vcpkg port.)
Good catch, applied. Thanks.