mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-26 01:51:41 +00:00
[build] Fix the windows build with fmt (#5544)
This commit is contained in:
@@ -107,7 +107,7 @@ set_property(TARGET wpiutil PROPERTY FOLDER "libraries")
|
||||
|
||||
target_compile_features(wpiutil PUBLIC cxx_std_20)
|
||||
if (MSVC)
|
||||
target_compile_options(wpiutil PUBLIC /permissive- /Zc:throwingNew /MP /bigobj)
|
||||
target_compile_options(wpiutil PUBLIC /permissive- /Zc:preprocessor /Zc:throwingNew /MP /bigobj)
|
||||
target_compile_definitions(wpiutil PRIVATE -D_CRT_SECURE_NO_WARNINGS)
|
||||
endif()
|
||||
wpilib_target_warnings(wpiutil)
|
||||
|
||||
Reference in New Issue
Block a user