Skip to content

Commit 2f7f46a

Browse files
authored
Fix rosidl_generator_java_warnings (#77)
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
1 parent b025c1e commit 2f7f46a

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
@@ -36,7 +36,7 @@ if(BUILD_TESTING)
3636

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

4141
include(cmake/register_java.cmake)
4242
include(cmake/rosidl_generator_java_get_typesupports.cmake)

0 commit comments

Comments
 (0)