Skip to content

Commit

Permalink
test3
Browse files Browse the repository at this point in the history
  • Loading branch information
nmoinvaz committed Jun 8, 2024
1 parent 2dcff78 commit df1f1a3
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,7 @@ if(MZ_OPENSSL)
list(APPEND MINIZIP_LIB ${OPENSSL_LIBRARIES})
list(APPEND MINIZIP_LBD ${OPENSSL_LIBRARY_DIRS})


if(OPENSSL_INCLUDE_DIRS)
message(STATUS "Using OpenSSL include directory: ${OPENSSL_INCLUDE_DIRS}")
list(APPEND MINIZIP_INC ${OPENSSL_INCLUDE_DIRS})
Expand All @@ -426,6 +427,15 @@ if(MZ_OPENSSL)
message(STATUS "Using OpenSSL include directory: ${OPENSSL_INCLUDE_DIR}")
list(APPEND MINIZIP_INC ${OPENSSL_INCLUDE_DIR})
endif()
if(EXISTS ${OPENSSL_INCLUDE_DIR}/err.h)
message(STATUS "Found err.h")
endif()
if(EXISTS ${OPENSSL_INCLUDE_DIR}/openssl/err.h)
message(STATUS "Found openssl/err.h")
endif()
if(EXISTS ${OPENSSL_INCLUDE_DIR}/openssl/ssl.h)
message(STATUS "Found openssl/ssl.h")
endif()

foreach(i ${OPENSSL_LIBRARIES})
set(PC_PRIVATE_LIBS "${PC_PRIVATE_LIBS} -l${i}")
Expand Down

0 comments on commit df1f1a3

Please sign in to comment.