cmake : do not build common library by default when standalone (#9804)

This commit is contained in:
Diego Devesa 2024-10-09 18:49:52 +02:00 committed by GitHub
parent e7022064ab
commit c81f3bbb05
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 3 deletions

View file

@ -18,6 +18,7 @@ android {
}
externalNativeBuild {
cmake {
arguments += "-DLLAMA_BUILD_COMMON=ON"
arguments += "-DCMAKE_BUILD_TYPE=Release"
cppFlags += listOf()
arguments += listOf()