Skip to content

cmake: replace unset(VAR) with set(VAR "") for init#15497

Closed
vszakats wants to merge 3 commits intocurl:masterfrom
vszakats:cm-avoid-unset-for-init
Closed

cmake: replace unset(VAR) with set(VAR "") for init#15497
vszakats wants to merge 3 commits intocurl:masterfrom
vszakats:cm-avoid-unset-for-init

Conversation

@vszakats
Copy link
Member

@vszakats vszakats commented Nov 6, 2024

Also add cleanup unset()s where missing.

Reported-by: Kai Pastor
Bug: #15255 (comment)
Follow-up to 8b09138 #14610

@vszakats
Copy link
Member Author

vszakats commented Nov 6, 2024

@dg0yt How does this look to you?

@vszakats vszakats force-pushed the cm-avoid-unset-for-init branch from d1afc04 to 2e085d8 Compare November 12, 2024 19:58
@talregev
Copy link
Contributor

@dg0yt Is this effect vcpkg? Do you think it better?

@vszakats vszakats force-pushed the cm-avoid-unset-for-init branch from 2e085d8 to d487e9c Compare December 16, 2024 19:47
@vszakats vszakats closed this in b4aa931 Dec 16, 2024
@vszakats vszakats deleted the cm-avoid-unset-for-init branch December 16, 2024 20:13
pps83 pushed a commit to pps83/curl that referenced this pull request Apr 26, 2025
Also add cleanup `unset()`s where missing.

Reported-by: Kai Pastor
Bug: curl#15255 (comment)
Follow-up to 8b09138 curl#14610

Closes curl#15497
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants