summaryrefslogtreecommitdiff
authorar <ar>2004-06-06 00:21:13 (UTC)
committer ar <ar>2004-06-06 00:21:13 (UTC)
commit0de010169779ccc86fae92b4137ecc0b81e49d39 (patch) (side-by-side diff)
tree8f699505346783c83add5f8c4a0b9b733a903730
parentc1d2042ce1b359919e6e9fb3623c1397ca446caa (diff)
downloadopie-0de010169779ccc86fae92b4137ecc0b81e49d39.zip
opie-0de010169779ccc86fae92b4137ecc0b81e49d39.tar.gz
opie-0de010169779ccc86fae92b4137ecc0b81e49d39.tar.bz2
- add sqlite dependencies
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--libopie2/examples/opiedb/sqltest/sqltest.pro10
1 files changed, 7 insertions, 3 deletions
diff --git a/libopie2/examples/opiedb/sqltest/sqltest.pro b/libopie2/examples/opiedb/sqltest/sqltest.pro
index 1922d06..509bd85 100644
--- a/libopie2/examples/opiedb/sqltest/sqltest.pro
+++ b/libopie2/examples/opiedb/sqltest/sqltest.pro
@@ -7,7 +7,11 @@ DEPENDPATH += $(OPIEDIR)/include
LIBS += -lqpe -lopiedb2 -lsqlite
TARGET = sqltest
-
-
-
include ( $(OPIEDIR)/include.pro )
+
+!isEmpty( LIBSQLITE_INC_DIR ) {
+ INCLUDEPATH = $$LIBSQLITE_INC_DIR $$INCLUDEPATH
+}
+!isEmpty( LIBSQLITE_LIB_DIR ) {
+ LIBS = -L$$LIBSQLITE_LIB_DIR $$LIBS
+}