Compile JavaCheck for Java 7
This commit is contained in:
parent
63b69c0b0c
commit
8e43190984
@ -4,7 +4,7 @@ find_package(Java 1.7 REQUIRED COMPONENTS Development)
|
|||||||
|
|
||||||
include(UseJava)
|
include(UseJava)
|
||||||
set(CMAKE_JAVA_JAR_ENTRY_POINT JavaCheck)
|
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
|
set(SRC
|
||||||
JavaCheck.java
|
JavaCheck.java
|
||||||
|
Loading…
Reference in New Issue
Block a user