From 1f7fbd198f0733b5d926fa002e586edc28432456 Mon Sep 17 00:00:00 2001 From: Iker Luengo Date: Wed, 22 Sep 2021 16:38:28 +0200 Subject: [PATCH] Refs 11914. Do not make libp11 requiredwq Signed-off-by: Iker Luengo --- CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 350d9e2d11c..80c94aab32c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -162,11 +162,10 @@ option(SECURITY "Activate security" OFF) if(SECURITY) find_package(OpenSSL REQUIRED) - find_package(LibP11 REQUIRED) else() find_package(OpenSSL) - find_package(LibP11) endif() +find_package(LibP11) if(OPENSSL_FOUND) message(STATUS "OpenSSL library ${OPENSSL_VERSION} found...")