Skip to content

Use FindIconv module#1

Merged
Chlorie merged 1 commit intoChlorie:masterfrom
chinuno-usami:master
Nov 30, 2020
Merged

Use FindIconv module#1
Chlorie merged 1 commit intoChlorie:masterfrom
chinuno-usami:master

Conversation

@chinuno-usami
Copy link
Contributor

cmake在3.11之后的版本使用FindIconv模块查找libiconv包。
用旧方式使用会提示找不到unofficial-iconv和相关config文件
相关文档

@Chlorie
Copy link
Owner

Chlorie commented Nov 28, 2020

这里是为了统一 library 的获取方式而使用的 vcpkg 安装所有的包,如果用 find iconv 的话 Windows 下会比较蛋疼……

@chinuno-usami
Copy link
Contributor Author

啊这。可是我现在linux上用vcpkg装的libiconv包也只能用FindIconv才能找得到啊。
看了下vcpkg的libiconv现在已经把unofficial-iconv-config.cmake给去掉了。
看了看提交应该是支持了windows了 microsoft/vcpkg#11776

@Chlorie Chlorie merged commit aa20807 into Chlorie:master Nov 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants