diff options
author | Sven Gothel <[email protected]> | 2021-01-28 14:01:01 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2021-01-28 14:01:01 +0100 |
commit | 7bb2e848d77c454ee26987e8ac03b90129d4b2bb (patch) | |
tree | 5e9b740020a5fd983c64c35eda6fd5eb11c08a47 /JaulibSetup.cmake | |
parent | ad76f1abdb12bf05e330ebfa9653728fe20806f0 (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.cmake | 2 |
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}) |