Compare commits
No commits in common. "master" and "upstream-version" have entirely different histories.
master
...
upstream-v
2 changed files with 2 additions and 10 deletions
|
@ -1,12 +1,5 @@
|
||||||
cmake_minimum_required(VERSION 3.6)
|
cmake_minimum_required(VERSION 3.6)
|
||||||
project(flutter_openssl_crypto)
|
project(flutter_openssl_crypto)
|
||||||
find_package(OpenSSL REQUIRED)
|
find_package(openssl REQUIRED CONFIG)
|
||||||
if(OPENSSL_FOUND)
|
|
||||||
message("OpenSSL found:")
|
|
||||||
message(" Includes: ${OPENSSL_INCLUDE_DIR}")
|
|
||||||
message(" Libraries: ${OPENSSL_CRYPTO_LIBRARY}")
|
|
||||||
else()
|
|
||||||
message(FATAL_ERROR "OpenSSL not found")
|
|
||||||
endif()
|
|
||||||
add_library(${PROJECT_NAME} SHARED empty.c)
|
add_library(${PROJECT_NAME} SHARED empty.c)
|
||||||
target_link_libraries(${PROJECT_NAME} PRIVATE OpenSSL::Crypto)
|
target_link_libraries(${PROJECT_NAME} PRIVATE openssl::crypto)
|
||||||
|
|
|
@ -36,7 +36,6 @@ android {
|
||||||
externalNativeBuild {
|
externalNativeBuild {
|
||||||
cmake {
|
cmake {
|
||||||
arguments "-DANDROID_STL=c++_shared"
|
arguments "-DANDROID_STL=c++_shared"
|
||||||
arguments "-DOPENSSL_ROOT_DIR=/usr/lib/openssl-1.1", "-DOPENSSL_CRYPTO_LIBRARY=/usr/lib/openssl-1.1/libcrypto.so", "-DOPENSSL_INCLUDE_DIR=/usr/include/openssl-1.1/openssl"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue