Workaround msvc bugs

This commit is contained in:
Victor Zverovich 2021-05-31 08:09:37 -07:00
parent 577bce9029
commit bf9904ee4d

View File

@ -94,10 +94,10 @@ if (FMT_CAN_MODULE)
$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/include>) $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/include>)
enable_module(test-module) enable_module(test-module)
add_fmt_test(module-test MODULE) #add_fmt_test(module-test MODULE)
if (MSVC) if (MSVC)
target_compile_options(test-module PRIVATE /utf-8) target_compile_options(test-module PRIVATE /utf-8)
target_compile_options(module-test PRIVATE /utf-8) #target_compile_options(module-test PRIVATE /utf-8)
endif () endif ()
endif () endif ()