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
fmt 11.0.0 added the CMake generator expression <$<COMPILE_LANGUAGE:CXX>:/utf-8> for MSVC in fmtlib/fmt#3995, which will cause folly to fail when generating pkgconfig file in CMakeLists.txt#L497-L502.
If folly upgrade dependency fmt to 11.0.0, will generate libfolly.pc.gen with Cflags: -I${includedir} $<$<COMPILE_LANGUAGE:CXX>:/utf-8> in CMakeLists.txt#L497-L502.
But file(GENERATE) context does not support $<COMPILE_LANGUAGE:...>, will failed with Evaluation file to be written multiple times with different content. See CMake #26110.
Maybe it could fixed by add conditional processing like #1433.
The text was updated successfully, but these errors were encountered:
fmt 11.0.0 added the CMake generator expression
<$<COMPILE_LANGUAGE:CXX>:/utf-8>
forMSVC
in fmtlib/fmt#3995, which will cause folly to fail when generating pkgconfig file in CMakeLists.txt#L497-L502.Problem
For fmt, it added
$<$<COMPILE_LANGUAGE:CXX>:/utf-8>
in 11.0.0/CMakeLists.txt#L358-L362 forMSVC AND FMT_UNICODE
.If folly upgrade dependency fmt to 11.0.0, will generate
libfolly.pc.gen
withCflags: -I${includedir} $<$<COMPILE_LANGUAGE:CXX>:/utf-8>
in CMakeLists.txt#L497-L502.But
file(GENERATE)
context does not support$<COMPILE_LANGUAGE:...>
, will failed withEvaluation file to be written multiple times with different content
. See CMake #26110.Maybe it could fixed by add conditional processing like #1433.
The text was updated successfully, but these errors were encountered: