diff --git a/wpiutil/CMakeLists.txt b/wpiutil/CMakeLists.txt index 004b3617cb..8422b61231 100644 --- a/wpiutil/CMakeLists.txt +++ b/wpiutil/CMakeLists.txt @@ -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)