File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -302,9 +302,10 @@ if(MSVC)
302302 # fmtlib requires the /utf-8 flag when building with msvc. see https://github.com/fmtlib/fmt/pull/4159 on the
303303 # purpose of the additional
304304 # "$<$<AND:$<COMPILE_LANGUAGE:CXX>,$<CXX_COMPILER_ID:MSVC>>"
305- target_compile_options (spdlog PUBLIC $<$<AND :$<COMPILE_LANGUAGE :CXX >,$<CXX_COMPILER_ID :MSVC >>:/utf -8>)
306- target_compile_options (spdlog_header_only
307- INTERFACE $<$<AND :$<COMPILE_LANGUAGE :CXX >,$<CXX_COMPILER_ID :MSVC >>:/utf -8>)
305+ # which has been removed because generator expressions aren't supported by CPS
306+ # see fmt issue https://github.com/externpro/fmt/issues/35 for explanation
307+ target_compile_options (spdlog PUBLIC /utf-8 )
308+ target_compile_options (spdlog_header_only INTERFACE /utf-8 )
308309 endif ()
309310endif ()
310311
You can’t perform that action at this time.
0 commit comments