Fix windows
This commit is contained in:
parent
a45542d637
commit
bdedb36f50
@ -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()
|
||||
|
@ -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()
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user