summaryrefslogtreecommitdiff
path: root/config/openssl.mpb
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2018-11-01 08:23:51 +0100
committerJohnny Willemsen <jwillemsen@remedy.nl>2018-11-01 08:23:51 +0100
commitf98ace64f0fd04b1cfe6373ac792524b026cdaf8 (patch)
tree66863e0a20c92558df7bb16c076b92c6fe893038 /config/openssl.mpb
parentb916f1237890241074dc8c313cf9be323b07b575 (diff)
downloadMPC-f98ace64f0fd04b1cfe6373ac792524b026cdaf8.tar.gz
Introduce new SSL_INCDIR/SSL_LIBDIR and XERCESC_INCDIR/XERCESC_LIBDIR to specify a custom include/lib dir as needed for vcpkg versions of openssl/xercesc
* config/openssl.mpb: * config/wxbase.mpb: * config/xerces.mpb:
Diffstat (limited to 'config/openssl.mpb')
-rw-r--r--config/openssl.mpb13
1 files changed, 11 insertions, 2 deletions
diff --git a/config/openssl.mpb b/config/openssl.mpb
index bba77d3f..8af0fef4 100644
--- a/config/openssl.mpb
+++ b/config/openssl.mpb
@@ -4,8 +4,17 @@
// default. If we ever add a new ssl library, then you
// would likely enable only one ssl library feature.
feature(openssl) {
- includes += $(SSL_ROOT)/include
- libpaths += $(SSL_ROOT)/lib
+ expand(SSL_INCDIR) {
+ $SSL_INCDIR
+ $(SSL_ROOT)/include
+ }
+ expand(SSL_LIBDIR) {
+ $SSL_LIBDIR
+ $(SSL_ROOT)/lib
+ }
+
+ includes += $(SSL_INCDIR)
+ libpaths += $(SSL_LIBDIR)
specific(prop:windows) {
lit_libs += libeay32 ssleay32