Skip to content

Commit

Permalink
add -lz
Browse files Browse the repository at this point in the history
  • Loading branch information
pqpo committed Jul 3, 2019
1 parent e85ebe5 commit b052965
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ android {
}

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

// For developers using the Android Support Library
implementation 'pub.devrel:easypermissions:2.0.1'
// implementation 'com.github.pqpo:SmartCropper:v2.0.0'
implementation 'com.github.pqpo:SmartCropper:v2.1.0'
}
4 changes: 2 additions & 2 deletions smartcropperlib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ find_library(z-lib
# build script, prebuilt third-party libraries, or system libraries.

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

2 changes: 1 addition & 1 deletion smartcropperlib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ android {
minSdkVersion 21
targetSdkVersion 28
versionCode 9
versionName "2.1.0"
versionName "2.1.1"

externalNativeBuild {
cmake {
Expand Down

0 comments on commit b052965

Please sign in to comment.