Compile JavaCheck for Java 7

This commit is contained in:
icelimetea 2022-06-12 17:46:40 +01:00
parent 63b69c0b0c
commit 8e43190984
No known key found for this signature in database
GPG Key ID: 206D220EAB0F313F

View File

@ -4,7 +4,7 @@ find_package(Java 1.7 REQUIRED COMPONENTS Development)
include(UseJava)
set(CMAKE_JAVA_JAR_ENTRY_POINT JavaCheck)
set(CMAKE_JAVA_COMPILE_FLAGS -target 8 -source 8 -Xlint:deprecation -Xlint:unchecked)
set(CMAKE_JAVA_COMPILE_FLAGS -target 7 -source 7 -Xlint:deprecation -Xlint:unchecked)
set(SRC
JavaCheck.java