summaryrefslogtreecommitdiffstats
path: root/Plugins/DbSqliteCipher/DbSqliteCipher.pro
diff options
context:
space:
mode:
Diffstat (limited to 'Plugins/DbSqliteCipher/DbSqliteCipher.pro')
-rw-r--r--Plugins/DbSqliteCipher/DbSqliteCipher.pro29
1 files changed, 16 insertions, 13 deletions
diff --git a/Plugins/DbSqliteCipher/DbSqliteCipher.pro b/Plugins/DbSqliteCipher/DbSqliteCipher.pro
index 1c9b041..33cd7c6 100644
--- a/Plugins/DbSqliteCipher/DbSqliteCipher.pro
+++ b/Plugins/DbSqliteCipher/DbSqliteCipher.pro
@@ -26,8 +26,15 @@ HEADERS += dbsqlitecipher.h \
sqlcipher.h
mac: {
- INCLUDEPATH += /usr/local/opt/openssl/include
- LIBS += -L/usr/local/opt/openssl/lib
+ 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
+ }
}
!macx: {
LIBS += -L$${PWD}/../deps/lib/$${PLATFORM}/
@@ -81,15 +88,11 @@ QMAKE_CFLAGS_WARN_ON = -Wall -Wno-unused-parameter -Wno-sign-compare -Wno-unused
DISTFILES += \
openssl_lic.txt
-TRANSLATIONS += DbSqliteCipher_ro_RO.ts \
- DbSqliteCipher_de.ts \
- \
- DbSqliteCipher_it.ts\
- DbSqliteCipher_zh_CN.ts\
- DbSqliteCipher_sk.ts\
- DbSqliteCipher_ru.ts\
- DbSqliteCipher_pt_BR.ts\
- DbSqliteCipher_fr.ts\
- DbSqliteCipher_es.ts\
- DbSqliteCipher_pl.ts
+
+
+
+
+
+
+