Skip to content

Commit

Permalink
cmake: try to force utf8 java source
Browse files Browse the repository at this point in the history
  • Loading branch information
judfs committed Oct 16, 2024
1 parent 36a670e commit 667e886
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lcm-java/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ elseif (Java_VERSION VERSION_LESS 1.9)
endif()
endif()

set(CMAKE_JAVA_COMPILE_FLAGS ${CMAKE_JAVA_COMPILE_FLAGS} -encoding utf8)

# Use system version of jchart2d if available
find_jar(jchart2d_JAR jchart2d)
if(NOT jchart2d_JAR)
Expand Down

0 comments on commit 667e886

Please sign in to comment.