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)
|
||||
project(flutter_openssl_crypto)
|
||||
find_package(OpenSSL REQUIRED)
|
||||
if(OPENSSL_FOUND)
|
||||
message("OpenSSL found:")
|
||||
message(" Includes: ${OPENSSL_INCLUDE_DIR}")
|
||||
message(" Libraries: ${OPENSSL_CRYPTO_LIBRARY}")
|
||||
else()
|
||||
message(FATAL_ERROR "OpenSSL not found")
|
||||
endif()
|
||||
find_package(openssl REQUIRED CONFIG)
|
||||
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 {
|
||||
cmake {
|
||||
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