Skip to content

Commit

Permalink
De-hardcode natives build process Part 12
Browse files Browse the repository at this point in the history
  • Loading branch information
thecatcore committed May 28, 2024
1 parent 6a289a4 commit 54c6b4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gradle/windows.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ def target_arch = getArch(System.getProperty("targetArch", os_arch))

def java_home = System.getProperty("java.home")

def alternative_java_home = ENV[System.getProperty("targetJavaHomeVar")]
def alternative_java_home = System.getProperty("targetJavaHomeVar")

if (alternative_java_home != null && alternative_java_home != "") {
java_home = alternative_java_home
java_home = ENV[alternative_java_home]
}

def sdkhome = ENV.VCToolsInstallDir ? ENV.VCToolsInstallDir : ENV.MSVC
Expand Down

0 comments on commit 54c6b4c

Please sign in to comment.