diff options
| author | 2018-07-27 23:51:12 -0400 | |
|---|---|---|
| committer | 2018-07-27 23:51:12 -0400 | |
| commit | feda8a7db8d1d7c5439aa8f8feef7cc0dd2b59a0 (patch) | |
| tree | 1e50f5f666f419143f510d5ded00fe2006b7bd85 /Plugins/DbSqliteCipher/DbSqliteCipher.pro | |
| parent | d9aa870e5d509cc7309ab82dd102a937ab58613a (diff) | |
New upstream version 3.2.1+dfsg1upstream/3.2.1+dfsg1
Diffstat (limited to 'Plugins/DbSqliteCipher/DbSqliteCipher.pro')
| -rw-r--r-- | Plugins/DbSqliteCipher/DbSqliteCipher.pro | 38 |
1 files changed, 22 insertions, 16 deletions
diff --git a/Plugins/DbSqliteCipher/DbSqliteCipher.pro b/Plugins/DbSqliteCipher/DbSqliteCipher.pro index 84ce065..cbb8ec3 100644 --- a/Plugins/DbSqliteCipher/DbSqliteCipher.pro +++ b/Plugins/DbSqliteCipher/DbSqliteCipher.pro @@ -14,12 +14,15 @@ TEMPLATE = lib DEFINES += DBSQLITECIPHER_LIBRARY SOURCES += dbsqlitecipher.cpp \ - dbsqlitecipherinstance.cpp \ - sqlcipher.c + dbsqlitecipherinstance.cpp + +!unix|isEmpty(SQLCIPHER_LIB): { + SOURCES += sqlcipher.c +} HEADERS += dbsqlitecipher.h \ dbsqlitecipher_global.h \ - dbsqlitecipherinstance.h \ + dbsqlitecipherinstance.h sqlcipher.h !macx: { @@ -31,12 +34,16 @@ win32: { LIBS += -leay32 -lcoreSQLiteStudio } -!win32: { +!win32:isEmpty(SQLCIPHER_LIB) { LIBS += -lcrypto } unix: { DEFINES += SQLITE_OS_UNIX=1 + !isEmpty(SQLCIPHER_LIB): { + LIBS += $$SQLCIPHER_LIB + DEFINES += SQLCIPHER_SYSTEM_LIB + } } win32: { DEFINES += SQLITE_OS_WIN=1 @@ -56,16 +63,15 @@ QMAKE_CFLAGS_WARN_ON = -Wall -Wno-unused-parameter -Wno-sign-compare -Wno-unused DISTFILES += \ openssl_lic.txt -TRANSLATIONS += 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 - - +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 |
