Skip to content

Commit

Permalink
[wpimath] Compile with UTF-8 encoding (#6111)
Browse files Browse the repository at this point in the history
This allows using Greek letters in variable names, which is helpful to
make implemented equations follow their source paper more closely.
  • Loading branch information
calcmogul authored Dec 30, 2023
1 parent 47c5fd8 commit 09f76b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wpimath/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ target_compile_definitions(wpimath PRIVATE WPILIB_EXPORTS)

target_compile_features(wpimath PUBLIC cxx_std_20)
if(MSVC)
target_compile_options(wpimath PUBLIC /bigobj)
target_compile_options(wpimath PUBLIC /utf-8 /bigobj)
endif()
wpilib_target_warnings(wpimath)
target_link_libraries(wpimath wpiutil)
Expand Down

0 comments on commit 09f76b3

Please sign in to comment.