Skip to content

Commit

Permalink
Refs 11914. Do not make libp11 requiredwq
Browse files Browse the repository at this point in the history
Signed-off-by: Iker Luengo <ikerluengo@eprosima.com>
  • Loading branch information
IkerLuengo committed Oct 7, 2021
1 parent 8ca7aa4 commit 6c02fd3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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...")
Expand Down

0 comments on commit 6c02fd3

Please sign in to comment.