diff options
author | Chad Elliott <elliottc@objectcomputing.com> | 2022-11-11 11:46:44 -0600 |
---|---|---|
committer | Chad Elliott <elliottc@objectcomputing.com> | 2022-11-11 11:46:44 -0600 |
commit | 4339fa3699a49c8d541ad57a11a27c07cfd7c69d (patch) | |
tree | 62b6b00e853d9ce56af4ccfe9bd28b2f6b723314 /config/openssl.mpb | |
parent | 3755fb81a9aa78d773aac9989bc8e9ffd06941cf (diff) | |
download | MPC-4339fa3699a49c8d541ad57a11a27c07cfd7c69d.tar.gz |
Add CMake style references.
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) { |