You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe this ends up propagating the /utf-8 option to my own sources, and thus breaking the build.
Proposed solution
I reported this to fmt (see fmtlib/fmt#4221) and the maintainer indicated that /utf-8 can be disabled through FMT_UNICODE, and it's an issue on the vcpkg side. Perhaps there could be done with a port feature?
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Hi, I have a small test project built on Windows with MSVC, with fmt 11.0.2#1 installed through vcpkg.
My test project uses the
/source-charset:windows-1252
compile option for its own sources:However, when try to build it I get the following error:
I believe the reason for this is the
/utf-8
option being set asPUBLIC
for thefmt
target, here:https://github.com/fmtlib/fmt/blob/0c9fce2ffefecfdce794e1859584e25877b7b592/CMakeLists.txt#L362
which results on the following code being generated by vcpkg's CMake machinery (on fmt-targets.cmake):
I believe this ends up propagating the
/utf-8
option to my own sources, and thus breaking the build.Proposed solution
I reported this to fmt (see fmtlib/fmt#4221) and the maintainer indicated that
/utf-8
can be disabled throughFMT_UNICODE
, and it's an issue on the vcpkg side. Perhaps there could be done with a port feature?The text was updated successfully, but these errors were encountered: