From 24fa209f531113067c50905b673c63152d986243 Mon Sep 17 00:00:00 2001 From: PCoder Date: Tue, 28 Mar 2023 18:49:26 +0530 Subject: [PATCH] Attempt without CONFIG and uppercase lib name --- android/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/android/CMakeLists.txt b/android/CMakeLists.txt index 9256875..1ce5f0e 100644 --- a/android/CMakeLists.txt +++ b/android/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.6) project(flutter_openssl_crypto) -find_package(openssl 1.1.1q CONFIG) +find_package(OpenSSL REQUIRED) add_library(${PROJECT_NAME} SHARED empty.c) -target_link_libraries(${PROJECT_NAME} PRIVATE openssl::crypto) +target_link_libraries(${PROJECT_NAME} PRIVATE OpenSSL::Crypto)