summaryrefslogtreecommitdiff
path: root/libopie2/opiepim
authormickeyl <mickeyl>2004-03-26 17:36:46 (UTC)
committer mickeyl <mickeyl>2004-03-26 17:36:46 (UTC)
commit5df13d7b2acd41c54bed6253afac827bc864ea5a (patch) (side-by-side diff)
tree8c3672a0be7f09094c0ec6658f98fd762108c17f /libopie2/opiepim
parent5d2442fc6e0fb992b9fe3998cc7b9ee6dffb8e2b (diff)
downloadopie-5df13d7b2acd41c54bed6253afac827bc864ea5a.zip
opie-5df13d7b2acd41c54bed6253afac827bc864ea5a.tar.gz
opie-5df13d7b2acd41c54bed6253afac827bc864ea5a.tar.bz2
conditionally link against -lopiedb, i.e. only when ENABLE_SQL_PIM_BACKEND=y
Diffstat (limited to 'libopie2/opiepim') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiepim/opiepim.pro7
1 files changed, 5 insertions, 2 deletions
diff --git a/libopie2/opiepim/opiepim.pro b/libopie2/opiepim/opiepim.pro
index b341819..c328315 100644
--- a/libopie2/opiepim/opiepim.pro
+++ b/libopie2/opiepim/opiepim.pro
@@ -3,25 +3,28 @@ CONFIG += qt warn_on debug
DESTDIR = $(OPIEDIR)/lib
HEADERS = opimcontact.h opimcontactfields.h opimrecord.h opimtodo.h opimnotify.h \
opimnotifymanager.h opimevent.h
SOURCES = opimcontact.cpp opimcontactfields.cpp opimrecord.cpp opimtodo.cpp opimnotify.cpp \
opimnotifymanager.cpp opimevent.cpp
INTERFACES =
TARGET = opiepim2
-VERSION = 1.8.3
+VERSION = 1.8.4
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += $(OPIEDIR)/include
-LIBS += -lopiecore2 -lopiedb2
+LIBS += -lopiecore2
include ( core/core.pro )
include ( core/backends/backends.pro )
include ( ui/ui.pro )
+contains( ENABLE_SQL_PIM_BACKEND, y )
+ LIBS += -lopiedb2
+
!contains( platform, x11 ) {
include ( $(OPIEDIR)/include.pro )
}
contains( platform, x11 ) {
LIBS = -L$(OPIEDIR)/lib -Wl,-rpath,$(OPIEDIR)/lib
}