Fix windows

This commit is contained in:
Andrea Cavalli 2023-05-14 11:10:07 +02:00
parent a45542d637
commit bdedb36f50
3 changed files with 3 additions and 3 deletions

View File

@ -55,7 +55,7 @@ set(CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY)
SET(JAVA_HOME "/usr/lib/jvm/default-java/")
if(EXISTS "/usr/lib/jvm/java-17-openjdk-i386")
SET(JAVA_CROSS_HOME "/usr/lib/jvm/java-8-openjdk-i386")
SET(JAVA_CROSS_HOME "/usr/lib/jvm/java-17-openjdk-i386")
else()
SET(JAVA_CROSS_HOME "/usr/lib/jvm/java-8-openjdk-i386")
endif()

View File

@ -55,7 +55,7 @@ set(CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY)
SET(JAVA_HOME "/usr/lib/jvm/default-java/")
if(EXISTS "/usr/lib/jvm/java-17-openjdk-ppc64el")
SET(JAVA_CROSS_HOME "/usr/lib/jvm/java-8-openjdk-ppc64el")
SET(JAVA_CROSS_HOME "/usr/lib/jvm/java-17-openjdk-ppc64el")
else()
SET(JAVA_CROSS_HOME "/usr/lib/jvm/java-8-openjdk-ppc64el")
endif()

View File

@ -55,7 +55,7 @@ set(CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY)
SET(JAVA_HOME "/usr/lib/jvm/default-java/")
if(EXISTS "/usr/lib/jvm/java-17-openjdk-riscv64")
SET(JAVA_CROSS_HOME "/usr/lib/jvm/java-8-openjdk-riscv64")
SET(JAVA_CROSS_HOME "/usr/lib/jvm/java-17-openjdk-riscv64")
else()
SET(JAVA_CROSS_HOME "/usr/lib/jvm/java-8-openjdk-riscv64")
endif()