Skip to content

Commit

Permalink
Log when ICU configure is skipped
Browse files Browse the repository at this point in the history
  • Loading branch information
hoisie committed Nov 29, 2021
1 parent ceda485 commit 25fb895
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nativeruntime/build.gradle
Expand Up @@ -41,7 +41,9 @@ task configureICU {
if (!file("$projectDir/external/icu/icu4c/source").exists()) {
throw new GradleException("ICU submodule not detected. Please run `git submodule update --init`")
}
if (!file("$projectDir/external/icu/icu4c/source/Makefile").exists()) {
if (file("$projectDir/external/icu/icu4c/source/Makefile").exists()) {
println("ICU Makefile detected, skipping ICU configure")
} else {
exec {
workingDir "$projectDir/external/icu/icu4c/source"
if (os.contains("linux")) {
Expand Down

0 comments on commit 25fb895

Please sign in to comment.