Use CMake's FindIconv (see #10887) #10888
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
By the way, I have found that the Windows CI is always ending up using the lib binary files in git, even though that the CI is installing libiconv via another way. Example CI log: https://github.com/doxygen/doxygen/actions/runs/9178874312/job/25239722835#step:25:110. I am not going to change anything there as I consider it off-topic. Generally, I don't think that those built libraries should be in git and used. There should be enough options nowadays to get libiconv on Windows installed.
I renamed winbuild -> deps/iconv_winbuild to make it clearer what it is about. I had to give it sub-directories to let standard CMake's FindIconv find the right library.
See also #10887