NOISSUE fix up java dependency to 1.7 so builds work again

'7' is not a thing
This commit is contained in:
Petr Mrázek 2021-12-19 19:11:08 +01:00
parent 6f6fa6955a
commit 6d3eace2a8
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.1) cmake_minimum_required(VERSION 3.1)
project(launcher Java) project(launcher Java)
find_package(Java 7 REQUIRED COMPONENTS Development) 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)

View File

@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.1) cmake_minimum_required(VERSION 3.1)
project(launcher Java) project(launcher Java)
find_package(Java 7 REQUIRED COMPONENTS Development) find_package(Java 1.7 REQUIRED COMPONENTS Development)
include(UseJava) include(UseJava)
set(CMAKE_JAVA_JAR_ENTRY_POINT org.multimc.EntryPoint) set(CMAKE_JAVA_JAR_ENTRY_POINT org.multimc.EntryPoint)