summaryrefslogtreecommitdiff
path: root/libopie2
authorar <ar>2004-06-06 00:14:18 (UTC)
committer ar <ar>2004-06-06 00:14:18 (UTC)
commitc1d2042ce1b359919e6e9fb3623c1397ca446caa (patch) (side-by-side diff)
treede39b29572eb156329e61f130f9c60fd3d591f5c /libopie2
parent1989c6f43aecffc9ec1a7b677e98435beff54886 (diff)
downloadopie-c1d2042ce1b359919e6e9fb3623c1397ca446caa.zip
opie-c1d2042ce1b359919e6e9fb3623c1397ca446caa.tar.gz
opie-c1d2042ce1b359919e6e9fb3623c1397ca446caa.tar.bz2
- add sqlite dependencies
Diffstat (limited to 'libopie2') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiedb/opiedb.pro8
1 files changed, 7 insertions, 1 deletions
diff --git a/libopie2/opiedb/opiedb.pro b/libopie2/opiedb/opiedb.pro
index 9e1ec7f..e5b1ac9 100644
--- a/libopie2/opiedb/opiedb.pro
+++ b/libopie2/opiedb/opiedb.pro
@@ -1,6 +1,6 @@
TEMPLATE = lib
-CONFIG += qt warn_on
+CONFIG += qt warn_on
DESTDIR = $(OPIEDIR)/lib
HEADERS = osqlbackend.h \
osqldriver.h \
osqlerror.h \
@@ -33,4 +33,10 @@ LIBS += -lopiecore2 -lqpe -lsqlite
contains( platform, x11 ) {
LIBS += -L$(OPIEDIR)/lib -Wl,-rpath,$(OPIEDIR)/lib
}
+!isEmpty( LIBSQLITE_INC_DIR ) {
+ INCLUDEPATH = $$LIBSQLITE_INC_DIR $$INCLUDEPATH
+}
+!isEmpty( LIBSQLITE_LIB_DIR ) {
+ LIBS = -L$$LIBSQLITE_LIB_DIR $$LIBS
+}