Skip to content

Commit b3be24e

Browse files
ivanpaunojacobperron
authored andcommitted
Fix rosidl_generator_java_warnings (#77)
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
1 parent 616c22e commit b3be24e

File tree

2 files changed

+451
-116
lines changed

2 files changed

+451
-116
lines changed

rosidl_generator_java/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ if(BUILD_TESTING)
4040

4141
# TODO(jacobperron): This fixes generating messages with wstrings.
4242
# Figure out why this is needed as of Foxy, and how we can remove this workaround
43-
set(CMAKE_JAVA_COMPILE_FLAGS "-encoding" "ISO-8859-1")
43+
list(APPEND CMAKE_JAVA_COMPILE_FLAGS "-encoding" "ISO-8859-1")
4444

4545
include(cmake/register_java.cmake)
4646
include(cmake/rosidl_generator_java_get_typesupports.cmake)

0 commit comments

Comments
 (0)