mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-19 11:54:22 -04:00
added CONFIG+=NO_SQLCIPHER support to unittests (travis wants this)
This commit is contained in:
parent
9f9221273a
commit
8d15f44c0e
1 changed files with 19 additions and 15 deletions
|
@ -45,6 +45,10 @@ linux-* {
|
|||
|
||||
#LIBS += ../../supportlibs/pegmarkdown/lib/libpegmarkdown.a
|
||||
|
||||
contains(CONFIG, NO_SQLCIPHER) {
|
||||
DEFINES *= NO_SQLCIPHER
|
||||
PKGCONFIG *= sqlite3
|
||||
} else {
|
||||
# We need a explicit path here, to force using the home version of sqlite3 that really encrypts the database.
|
||||
|
||||
SQLCIPHER_OK = $$system(pkg-config --exists sqlcipher && echo yes)
|
||||
|
@ -59,10 +63,10 @@ linux-* {
|
|||
LIBS += ../../../lib/sqlcipher/.libs/libsqlcipher.a
|
||||
INCLUDEPATH += ../../../lib/sqlcipher/src/
|
||||
INCLUDEPATH += ../../../lib/sqlcipher/tsrc/
|
||||
|
||||
} else {
|
||||
LIBS += -lsqlcipher
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
LIBS *= -lglib-2.0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue