mirror of
https://github.com/adaptech-cz/Tesseract4Android.git
synced 2026-01-09 06:12:45 +08:00
Support 16 KB page sizes on Android 15 (fixes #71)
This commit is contained in:
parent
a1685627ac
commit
b2efce8267
@ -18,6 +18,10 @@ android {
|
||||
// Specifies which native libraries or executables to build and package.
|
||||
// TODO: Include eyes-two in some build flavor of the library?
|
||||
//targets "jpeg", "pngx", "leptonica", "tesseract"
|
||||
|
||||
// Support 16 KB page sizes with NDK r27
|
||||
// This can be removed with NDK r28, which supports it by default.
|
||||
arguments "-DANDROID_SUPPORT_FLEXIBLE_PAGE_SIZES=ON"
|
||||
}
|
||||
}
|
||||
ndk {
|
||||
@ -44,7 +48,7 @@ android {
|
||||
// This is for projects that has direct dependency on this library,
|
||||
// but doesn't really want its debug version, which is very slow.
|
||||
// Note that this only affects native code.
|
||||
arguments "-DCMAKE_BUILD_TYPE=Release"
|
||||
arguments += "-DCMAKE_BUILD_TYPE=Release"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user