cmake: fix java pre release support

This commit is contained in:
Mizux Seiha
2025-12-02 12:38:37 +01:00
committed by Corentin Le Molgat
parent 9845ee219b
commit 1adba4f3e7
6 changed files with 19 additions and 13 deletions

View File

@@ -86,6 +86,12 @@ message(STATUS "Java project: ${JAVA_PROJECT}")
set(JAVA_PROJECT_DIR ${PROJECT_BINARY_DIR}/java/${JAVA_PROJECT})
message(STATUS "Java project build path: ${JAVA_PROJECT_DIR}")
if(RELEASE)
set(JAVA_RELEASE "")
else()
set(JAVA_RELEASE "-RC1")
endif()
##################
## PROTO FILE ##
##################