aboutsummaryrefslogtreecommitdiffstats
path: root/JaulibSetup.cmake
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2021-01-28 14:01:01 +0100
committerSven Gothel <[email protected]>2021-01-28 14:01:01 +0100
commit7bb2e848d77c454ee26987e8ac03b90129d4b2bb (patch)
tree5e9b740020a5fd983c64c35eda6fd5eb11c08a47 /JaulibSetup.cmake
parentad76f1abdb12bf05e330ebfa9653728fe20806f0 (diff)
JaulibSetup.cmake: CMAKE_JAVA_COMPILE_FLAGS += '-encoding UTF-8' (required on my raspi04 setup), also prepend CMAKE_JAVA_COMPILE_FLAGS
Diffstat (limited to 'JaulibSetup.cmake')
-rw-r--r--JaulibSetup.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/JaulibSetup.cmake b/JaulibSetup.cmake
index 5ba1b93..69c4c21 100644
--- a/JaulibSetup.cmake
+++ b/JaulibSetup.cmake
@@ -173,7 +173,7 @@ IF(BUILDJAVA)
set (JAR $ENV{JAVA_HOME_NATIVE}/bin/jar)
endif ()
- set(CMAKE_JAVA_COMPILE_FLAGS -source 11 -target 11)
+ set(CMAKE_JAVA_COMPILE_FLAGS ${CMAKE_JAVA_COMPILE_FLAGS} -source 11 -target 11 -encoding UTF-8)
if(DEBUG)
if(DEFINED JAVAC_DEBUG_ARGS)
set(CMAKE_JAVA_COMPILE_FLAGS ${CMAKE_JAVA_COMPILE_FLAGS} -g:${JAVAC_DEBUG_ARGS})