Fix formatting

This commit is contained in:
Victor Zverovich
2020-12-24 06:54:33 -08:00
parent 4fa4c9248f
commit 1256541d7a
3 changed files with 6 additions and 18 deletions

View File

@@ -107,12 +107,11 @@ add_fmt_test(ranges-test)
add_fmt_test(scan-test)
if (NOT MSVC)
# FMT_ENFORCE_COMPILE_STRING not supported under MSVC
# See https://developercommunity.visualstudio.com/content/problem/1277597/internal-compiler-c0001-error-on-complex-nested-la.html
# FMT_ENFORCE_COMPILE_STRING is not supported under MSVC due to compiler bugs.
add_fmt_test(enforce-compile-string-test)
target_compile_definitions(enforce-compile-string-test PRIVATE
"-DFMT_ENFORCE_COMPILE_STRING")
endif()
-DFMT_ENFORCE_COMPILE_STRING)
endif ()
if (NOT DEFINED MSVC_STATIC_RUNTIME AND MSVC)
foreach (flag_var