Skip to content

Commit b052965

Browse files
committed
add -lz
1 parent e85ebe5 commit b052965

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ android {
2828
}
2929

3030
dependencies {
31-
implementation project(':smartcropperlib')
31+
// implementation project(':smartcropperlib')
3232
implementation fileTree(include: ['*.jar'], dir: 'libs')
3333
implementation 'com.android.support:appcompat-v7:28.0.0'
3434
implementation 'com.android.support:support-v4:28.0.0'
@@ -37,5 +37,5 @@ dependencies {
3737

3838
// For developers using the Android Support Library
3939
implementation 'pub.devrel:easypermissions:2.0.1'
40-
// implementation 'com.github.pqpo:SmartCropper:v2.0.0'
40+
implementation 'com.github.pqpo:SmartCropper:v2.1.0'
4141
}

smartcropperlib/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ find_library(z-lib
5252
# build script, prebuilt third-party libraries, or system libraries.
5353

5454
if(${ANDROID_ABI} STREQUAL x86 OR ${ANDROID_ABI} STREQUAL x86_64)
55-
target_link_libraries(${TARGET} ${z-lib} opencv_imgproc opencv_core ippiw ippicv ittnotify tbb cpufeatures ${log-lib} ${jnigraphics-lib})
55+
target_link_libraries(${TARGET} opencv_imgproc opencv_core ${z-lib} ippiw ippicv ittnotify tbb cpufeatures ${log-lib} ${jnigraphics-lib})
5656
else()
57-
target_link_libraries(${TARGET} ${z-lib} opencv_imgproc opencv_core tegra_hal tbb cpufeatures ${log-lib} ${jnigraphics-lib})
57+
target_link_libraries(${TARGET} opencv_imgproc opencv_core ${z-lib} tegra_hal tbb cpufeatures ${log-lib} ${jnigraphics-lib})
5858
endif()
5959

smartcropperlib/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ android {
99
minSdkVersion 21
1010
targetSdkVersion 28
1111
versionCode 9
12-
versionName "2.1.0"
12+
versionName "2.1.1"
1313

1414
externalNativeBuild {
1515
cmake {

0 commit comments

Comments
 (0)