diff options
Diffstat (limited to 'config/openssl.mpb')
-rw-r--r-- | config/openssl.mpb | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/config/openssl.mpb b/config/openssl.mpb index 8af0fef4..84e466fa 100644 --- a/config/openssl.mpb +++ b/config/openssl.mpb @@ -13,8 +13,10 @@ feature(openssl) { $(SSL_ROOT)/lib } - includes += $(SSL_INCDIR) - libpaths += $(SSL_LIBDIR) + specific(!cmake) { + includes += $(SSL_INCDIR) + libpaths += $(SSL_LIBDIR) + } specific(prop:windows) { lit_libs += libeay32 ssleay32 @@ -36,6 +38,15 @@ feature(openssl) { specific(prop:microsoft) { libpaths += $(SSL_ROOT)/lib/VC } + + specific(cmake) { + // Undo the else of the !prop:windows above. + lit_libs -= ssl crypto + includes -= /usr/kerberos/include + + lit_libs += ${OPENSSL_LIBRARIES} + includes += ${OPENSSL_INCLUDE_DIR} + } } feature(openssl11) { |