diff --git a/example/java/CMakeLists.txt b/example/java/CMakeLists.txt index 602a5fa99..2c685a774 100644 --- a/example/java/CMakeLists.txt +++ b/example/java/CMakeLists.txt @@ -65,7 +65,7 @@ add_custom_target(build_java ) add_custom_target(generate_javadoc - COMMAND ${Java_JAVADOC_EXECUTABLE} -encoding UTF-8 -d ${JAVA_OUTPUT_DIRECTORY}/../docs org.drinkless.tdlib + COMMAND ${Java_JAVADOC_EXECUTABLE} -encoding UTF-8 -charset UTF-8 -d ${JAVA_OUTPUT_DIRECTORY}/../docs org.drinkless.tdlib WORKING_DIRECTORY ${TD_API_JAVA_PATH} COMMENT "Generating Javadoc documentation" DEPENDS td_generate_java_api