cmake: don't try to detect OpenSSL if OPENSSL_INCLUDE_DIR and OPENSSL_LIBRARIES are defined
--HG-- extra : rebase_source : fee9366943406e93964821a1991f1ac0c03983e5
This commit is contained in:
parent
dc32388e50
commit
2d68abd97d
@ -100,7 +100,9 @@ check_include_files(inttypes.h HAVE_INTTYPES_H)
|
||||
check_struct_has_member("struct tm" tm_gmtoff time.h HAVE_TM_GMTOFF)
|
||||
|
||||
# Libraries that we have a hard dependency on
|
||||
if(NOT DEFINED OPENSSL_INCLUDE_DIR OR NOT DEFINED OPENSSL_LIBRARIES)
|
||||
find_required_package(OpenSSL)
|
||||
endif()
|
||||
|
||||
# Mac OS X
|
||||
if(APPLE)
|
||||
|
Loading…
Reference in New Issue
Block a user