aboutsummaryrefslogtreecommitdiffstats
path: root/Plugins/DbSqliteWx/DbSqliteWx.pro
diff options
context:
space:
mode:
Diffstat (limited to 'Plugins/DbSqliteWx/DbSqliteWx.pro')
-rw-r--r--Plugins/DbSqliteWx/DbSqliteWx.pro14
1 files changed, 11 insertions, 3 deletions
diff --git a/Plugins/DbSqliteWx/DbSqliteWx.pro b/Plugins/DbSqliteWx/DbSqliteWx.pro
index f2f4e88..9b65599 100644
--- a/Plugins/DbSqliteWx/DbSqliteWx.pro
+++ b/Plugins/DbSqliteWx/DbSqliteWx.pro
@@ -27,9 +27,17 @@ isEmpty(WXSQLITE_LIB): {
HEADERS += wxsqlite3.h
}
-max: {
- INCLUDEPATH += /usr/local/opt/openssl/include
- LIBS += -L/usr/local/opt/openssl/lib
+macx: {
+ exists( /opt/local/include/openssl-3/openssl/crypto.h ) {
+ message( "Configuring OpenSSL from MacPorts" )
+ INCLUDEPATH += /opt/local/include/openssl-3
+ LIBS += -L/opt/local/lib/openssl-3
+ } else {
+ message( "Configuring OpenSSL from HomeBrew" )
+ INCLUDEPATH += /usr/local/opt/openssl/include
+ LIBS += -L/usr/local/opt/openssl/lib
+ }
+ LIBS += -framework Security
}
!macx: {
LIBS += -L$${PWD}/../deps/lib/$${PLATFORM}/