Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Thrift] Updates 2019.03.29 #5924

Merged
merged 1 commit into from
Apr 3, 2019
Merged

[Thrift] Updates 2019.03.29 #5924

merged 1 commit into from
Apr 3, 2019

Conversation

PhoebeHui
Copy link
Contributor

This commit fix 2 issues when upgrade thrift:

Issue 1: Failed with cl : Command line error D8016 : '/utf-8' and '/source-charset:utf-8' command-line options are incompatible
Fix: The thrift latest changes added ‘/source-charset:utf-8' and ‘/execution-charset:utf-8’ by commit ‘a6a3a78’. And VCPKG added options ‘/utf-8' in .\scripts\toolchains\windows.cmake.

So the fix should remove the one of the options, I removed ‘/utf-8' in .\scripts\toolchains\windows.cmake, I think VCPKG doesn't need add /utf-8 to the pkg, it should added by the pkg itself.

Issue 2: Failed when performing post-build validation
Fix: Add ‘vcpkg_fixup_cmake_targets(CONFIG_PATH "lib/cmake/thrift")’ in thrift portfile to help copy the cmake targets to install directory.

@PhoebeHui PhoebeHui added the info:internal This PR or Issue was filed by the vcpkg team. label Apr 3, 2019
@Rastaban Rastaban merged commit 83f1306 into microsoft:master Apr 3, 2019
@PhoebeHui PhoebeHui deleted the dev/Phoebe/Upgrades branch April 4, 2019 01:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
info:internal This PR or Issue was filed by the vcpkg team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants