Skip to content

Commit

Permalink
Change from /usr/bin/cmake to cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
sh123 committed Dec 11, 2023
1 parent aa1087c commit b19dcb8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions libcodec2-android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,12 @@ task compileCodec2 {
doLast {
exec {
workingDir "$projectDir/build/codec2_build_linux"
commandLine "/usr/bin/cmake", "$projectDir/src/codec2"
commandLine "cmake", "$projectDir/src/codec2"
}

exec {
workingDir "$projectDir/build/codec2_build_linux"
commandLine "/usr/bin/make"
commandLine "make"
}

for(String abi : rootProject.ext.ABI_FILTERS.split(";")) {
Expand All @@ -96,7 +96,7 @@ task compileCodec2 {

exec {
workingDir "$projectDir/build/codec2_build_android_" + abi
commandLine "/usr/bin/cmake", "--build", "."
commandLine "cmake", "--build", "."
}

copy {
Expand Down
6 changes: 3 additions & 3 deletions libopus-android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,12 @@ task compileOpus {
doLast {
exec {
workingDir "$projectDir/build/opus_build_linux"
commandLine "/usr/bin/cmake", "$projectDir/src/opus"
commandLine "cmake", "$projectDir/src/opus"
}

exec {
workingDir "$projectDir/build/opus_build_linux"
commandLine "/usr/bin/make"
commandLine "make"
}

for(String abi : rootProject.ext.ABI_FILTERS.split(";")) {
Expand All @@ -95,7 +95,7 @@ task compileOpus {

exec {
workingDir "$projectDir/build/opus_build_android_" + abi
commandLine "/usr/bin/cmake", "--build", "."
commandLine "cmake", "--build", "."
}

copy {
Expand Down

0 comments on commit b19dcb8

Please sign in to comment.