libgit2/libgit2 — pull request #1978 by arrbee (2013-12-02 19:34:12+00:00)
Title: Improve iconv finding for cmake

The iconv usage for unicode precompose/decompose is a little wonky / unportable. I think this makes it more robust...

* add FindIconv helper for CMake iconv detection
* only default using iconv to ON for MacOS
* update pkg-config generation to include iconv dependency better