libzip icon indicating copy to clipboard operation
libzip copied to clipboard

libzip-config: Fix variable substitutions

Open dg0yt opened this issue 5 months ago • 1 comments

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.

dg0yt avatar Jun 18 '25 20:06 dg0yt

(Noticed while updating the vcpkg port.)

dg0yt avatar Jun 18 '25 20:06 dg0yt

Good catch, applied. Thanks.

dillof avatar Jun 25 '25 08:06 dillof